Embedded Demo Attribution
Pass UTM parameters, HubSpot tokens, and campaign tracking from your landing page through to embedded Consensus demos, players, and CTA buttons automatically.
Embedding a Consensus demo on a landing page is one of the most effective ways to engage prospects at peak intent — but the attribution chain used to break the moment a visitor entered the demo. Tracking parameters on the parent page (UTMs, HubSpot tokens, Marketo mkt_tok, Google click IDs, and more) never reached the Consensus player, and they never made it to CTA buttons inside the demo either. The campaign that drove the click got no credit for the demo engagement.
The advanced embed fixes that. With Pass URL parameters to player and CTA buttons enabled, your snippet automatically inherits tracking parameters from the parent page and passes them through to the player and every CTA button inside the demo.
Feature Overview
The Share As modal now includes a dedicated Embed code tab that brings all embedding options into one place. From there, you choose between two embed types:
- Basic embed — the standard iframe option, unchanged. Toggle the snippet off and copy a clean iframe embed code, exactly as before.
- Advanced embed — toggle the snippet on to unlock two independent options:
- Website Data Sync — pass known lead data from an external form directly into the Consensus lead form, so returning prospects don't have to fill out their details again. Learn more about Website Data Sync.
-
- Pass URL parameters to player and CTA buttons — the snippet automatically captures any tracking parameters on the parent webpage and passes them through to the Consensus player and all CTA buttons inside the demo.
A live code preview updates in real time as options are toggled, so you always see exactly what you're copying before you implement it.
Prerequisites
- Access to the Share As modal for the relevant Public Link
- A landing page with existing tracking parameters (UTMs, HubSpot tokens, Marketo
mkt_tok, or custom parameters) - NOTE* No developer help is needed to enable Pass URL parameters to player and CTA buttons — the code is self-contained and requires no modification. If your marketing team can paste HTML into a CMS or landing page builder, you can handle this yourselves.
Getting Started
First-time setup
No prerequisite configuration is needed. The Embed code tab is available in the Share As modal for any link, ready to use out of the box.
- Open the Share As modal for your link
- Click the Embed code tab
- Toggle Add JavaScript snippet on to switch to the advanced embed
- Enable Pass URL parameters to player and CTA buttons
- Click Copy advanced embed and implement the code on your landing page
Updating an existing snippet
Your current setup will continue to work as before. To add parameter inheritance:
- Return to the Share As modal and click the Embed code tab
- Toggle Add JavaScript snippet on and enable Pass URL parameters to player and CTA buttons
- Click Copy advanced embed
- Replace the existing snippet on your landing page with the updated code
NOTE* If you were previously using the Consensus iFrame Generator tool or a custom JavaScript implementation to pass UTM parameters from a parent page to an embedded demo, you no longer need to. The advanced embed handles this natively, covers all parameter types (not just standard UTMs), and requires no custom code or developer involvement. We recommend replacing your existing implementation with the advanced embed going forward.
How It Works
Once the advanced embed code is on your landing page, everything works automatically.
When a prospect engages with an embedded demo on a tagged landing page, the tracking parameters from that page flow through to the Consensus player and any CTA buttons inside the demo. When a prospect clicks a CTA, those parameters travel with them to the destination URL — keeping the attribution chain intact all the way through to conversion, not just to the demo view.
What gets captured
Consensus captures any parameter that appears in the URL at the time of the demo view. This includes:
- UTM parameters —
utm_source,utm_medium,utm_campaign,utm_content,utm_term - HubSpot —
hsCtaTracking,__hstc, HubSpot tokens - Marketo —
mkt_tok - Ad platform click IDs —
gclid(Google),li_fat_id(LinkedIn),fbclid(Meta) - Custom parameters — any additional parameters your team appends
Verifying the embed
Parameters will be visible on the Qualified Leads page and Public Link Details page, so you can trace every embedded demo lead back to the campaign that drove it. To verify the embed is working after implementation, check the Qualified Leads page after a test engagement on a tagged landing page and confirm the expected parameters are appearing on the lead record. Learn more about viewing tracking parameters.
FAQ
Will my existing basic iframe embed still work?
Yes. Nothing you've already configured changes. The advanced embed gives you a more powerful option — your existing iframe setup is untouched.
Can I use Website Data Sync and Pass URL parameters at the same time?
Yes. When the JavaScript snippet toggle is enabled, both options are available independently. Enable whichever ones apply to your setup. If you don't need one, simply leave its checkbox off.
Will the parameters from the parent page get added to external links in my CTA buttons?
Yes. Parameters from the page where the demo is hosted are automatically appended to any external links included in CTA buttons.
Do I need developer help to implement the advanced embed?
It depends on which options you enable. To use Pass URL parameters to player and CTA buttons only — no developer help needed. The code is self-contained and requires no modification. To enable Website Data Sync, you'll likely need additional assistance, as the lead data fields in the snippet need to be mapped and populated dynamically from your form, login session, or MAP.
Will parameters inherited from the parent page show up in Qualified Leads?
Yes. Parameters are inherited and displayed for every recorded lead view in Qualified Leads and under the listed lead records on the Public Link Details page. Learn more about viewing tracking parameters.