For the complete documentation index, see llms.txt. This page is also available as Markdown.

New Marketplaces

Implementation, Syntax, Consumer Experience, Tags, Tracking, and Best Practices

person-waving

Standard Embed Implementation

PLEASE NOTE: Your Engine representative will provide you with your specific code snippet. Do not try to reproduce from the sample snippet outlined below.

<script
  async
  src="https://www.moneylion.com/network/{channel}/{zone}/web-component/generic-offers/index.js"
  data-embed-type="auto-mount"
></script>

This is a representative example of what our embed code looks like, and contains placeholders as defined below. Placeholders and will be replaced with precise values in the embed code provided to you.

Embed Components

  • Channel & Zone: placeholders that will be replaced with precise values in the embed code provided to you by your Engine representative.

  • Component Name: generic-offers is the universal offers tile embed. It renders one or more cards from Engine’s Offer Catalog (any supported product type) using UUID + product type, and handles real-time availability, monetization rules, and fallback UX for you

    Mounting: manual is the default. Place where the marketplace should render. The script tag and the element can appear in either order on the page.

    • With data-embed-type="auto-mount", do not add the element - the script inserts the component immediately after itself when the bundle loads. In this mode the script tag must be inside , in the exact position where the marketplace should appear.

New Marketplaces Embed Demo

Credit Builder Embed Demo Link: https://www.moneylion.com/network/cnbc-ml/credit-builders/iframe

Credit Builder Embed

Client Tags for Attribution

Engine Embeds support the ability to add certain tags with varying use cases, which are outlined in this section.

How to Implement Client Tags

To add client tags in an embed, use the following syntax in the data-tags attribute within the embed script:

Sample Implementation

In the above example, clientId and source are available as tags for reporting purposes.

Supported Client Tag Keys

Below are the client tag keys that are currently supported:

  • agentId

  • campaignId

  • clickId

  • clientId

  • deviceId

  • medium

  • sourceId

  • subId

  • subId1

  • subId2

  • subId3

  • target

  • trafficsource

  • userId

If a different key is needed, please reach out to your Partner Manager - we may be able to accommodate, but adding nonstandard keys will increase the time it takes Engine to report Client Tag values back to you and is therefore not recommended.

Embed Best Practices & Troubleshooting

Best practices

Troubleshooting

Last updated

Was this helpful?