Auto Insurance Marketplace
Auto Insurance Embed: Implementation, Syntax, Demo, Tags, and Best Practices
Standard Embed Implementation
Engine's embed code can be placed in any order within your page, but for optimal user experience we recommend placing the script tag within the same div where the content is being rendered.
Basic Embed Syntax
<script
async src="https://www.moneylion.com/network/{channel}/{zone}/web-component/auto-insurnace/index.js"
data-tags="tag.clientId=c1&tag.source=email"
data-query="app.providedCreditRating=fair&app.zipcode=90210"
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.
HTML Attributes: optional
data-*attributes on the script tag that configure embed behavior and are passed to the mounted component at runtime.data-embed-type: used for mounting and required on the script tag; set to
auto-mountso the widget is automatically inserted beside the script when the bundle loads.data-query: Enables data prefill functionality and defintes what field should be prepopulated (see Prepopulating User Data below).
Different Auto Insurance Experiences
This feature requires Partner Manager involvement to launch. Contact your assigned Partner Manager for support.
Short Form Experience






Long Form Experience












Shared Offer Wall
The Offer Wall that consumers see at the end of the Auto Insurance experience (both short and long):

Prepopulating User Data
Short Form Experience
To prefill customer data fields in an Auto Insurance Embed, add values to the data-query attribute in the following format:
Engine's Short Form Auto Insurance experience accepts the following parameters and values for customer data pre-population purposes:
Date of Birth
app.dateOfBirth
Date string of the format YYYY-MM-DD
Zip Code
app.zipcode
US 5-digit numeric ZIP code, e.g. 10001. No leading/trailing whitespace
Number of Vehicles
app.numberOfVehicles
Integer between 1 and 5
Current Issuer
app.currentIssuer
String issuer name matching the enum values from Engine's API Reference for the Schema AutoInsuranceIssuer
Military Status
app.is_military
Boolean (true/false)
Home Owner Status
app.is_home_owner
Boolean (true/false)
Age Range
app.ageRange
AGE_RANGE_18_20
AGE_RANGE_21_24
AGE_RANGE_25_34
AGE_RANGE_35_44
AGE_RANGE_45_54
AGE_RANGE_55_64
AGE_RANGE_65_PLUS
Multiple Vehicle Status
app.has_multiple_vehicles
true
Insured Status
app.is_currently_insured
true
Long Form Experience
Engine's Long Form Experience collects deep user information and query string parameters are not a secure method of transmission.
If you want to refill long form experience, please use our Second Party Prefill API which enables secure server-to-server transfer of consumer PII.
Implementing Client Tags for Reporting
Engine's Auto Insurance Marketplace embed supports appending client tags for channel partner reporting.
Channel Partner Reporting
data-tags: enables more robust reporting
To add client tags in an embed, use the following syntax in the data-tags attribute within the embed script:
Supported Client Tag Keys
Client tag keys are case-sensitive. Below are the client tag keys that are currently supported within Engine's Auto Insurance marketplace:
tag.subid1
Usable for any tracking needs, such as an article or click ID
tag.subid2
Affiliate ID for a unique click
tag.trafficsource
Used to identify a campaign or program that a lead came from
tag.campaignId
Usable for any tracking needs such as a placement ad copy identifier
tag.medium
Must be set to incentive for incentivized traffic (your Engine contact must permit incentivized traffic, in writing, before use). Otherwise, set to Engine
tag.sourceId
Supply Subaccount UUID, which is provided by your Engine Partner Manager
Embed Best Practices & Troubleshooting
Last updated
Was this helpful?

