New Marketplaces
Implementation, Syntax, Consumer Experience, Tags, Tracking, and Best Practices
Standard Embed Implementation
<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-offersis 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 youMounting: 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

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. See Attribution Tracking for more information.
Most common
tag.clientIdtag.subIdtag.subId1tag.subId2tag.campaignId
Also supported
tag.agentIdtag.clickIdtag.deviceIdtag.mediumtag.sourceIdtag.subId3tag.targettag.trafficsourcetag.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
Last updated
Was this helpful?

