Tracking guide

Pass UTM parameters into your embedded estimator

When your estimator is embedded, your campaign tags stop at the page and never reach it. One script fixes that.

For business owners20 minutesYou need: edit access to the page

An embedded estimator lives in an iframe, which does not inherit the URL parameters of the page around it. So a visitor arriving from an ad tagged with UTMs produces an estimate with no source attached. Adding a short script just below the iframe copies those parameters through, and your leads arrive with their source intact.

The symptom to recognise: you are spending money on ads, leads are arriving, and every one of them looks like direct traffic. Nothing is broken. The tags simply never reached the estimator.

Do you need this?

SetupNeeded?
You link straight to the estimator with UTMs on the linkNo. They pass through already.
Estimator embedded, ads sending traffic to that pageYes
Estimator embedded, no paid traffic at allNot urgent, but do it before you start spending
  1. Find your iframe embed code on the page

    Wherever you pasted it. See adding your estimator to your website.

    The iframe embed code in a page editor
    Find the embed you already added.
  2. Add the passthrough script directly below it

    Same HTML block, immediately after the iframe. It reads the parameters from the page URL and appends them to the iframe source.

    The passthrough script placed below the iframe embed
    Directly below, in the same block.

    Get the current script from [email protected] or from the advanced attribution guide. We would rather send you the current version than have you copy an old one from a screenshot.

  3. Test it

    Visit your page with test parameters on the end, for example ?utm_source=test&utm_medium=test, complete an estimate, and check the source came through on the lead.

    Testing UTM parameters passing into the embedded estimator
    Test with obvious values you will recognise.
    What good looks like: the estimate arrives carrying utm_source=test rather than nothing.

Common gotchas

  • Script above the iframe. It has to be after, or there is nothing to modify yet.
  • Pasted into a text block. It must be an HTML or code block, same as the embed.
  • Cached page. Clear your site cache and test in a private window.
  • Testing without parameters. If there are no UTMs on the URL, nothing passes through, correctly.
  • Only some parameters passing. Check which ones the script handles. Standard UTMs are covered; click IDs like gclid and fbclid are a separate matter.

Worth knowing about click IDs. Standard utm_* parameters are stored with the estimate. Google's gclid and Meta's fbclid are not currently captured, so you can see that a lead came from a paid campaign but cannot match it back to an individual click. If offline conversion upload matters to you, tell support, because demand is what moves this.

Does this affect page speed?

No, it is a few lines that run once.

Will it work with the alternative embed?

The alternative embed behaves differently. Ask support before assuming.

Can I pass my own custom parameters?

Standard UTMs are supported. For anything else, ask.

Do I need this if I only link to the estimator?

No. Direct links carry their parameters already.

Email [email protected] for the current script.

For franchises
OverviewRoyalty calculatorCase studies
For contractors
OverviewFeaturesExample estimatorsFree book for contractors
Why publish prices Pricing
Resources
Marcus’s pricing masterclassHow it worksIntegrationsLearn CenterFAQAbout us
Log in