Appending UTMs to the Iframe src with HandL UTM Grabber
UTM attribution overview
This guide explains Appending UTMs to the Iframe src with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales.
You can append all the UTMs to your target website URL within iframe. This is actually very helpful, if you are using iframe for your optin forms and you would like to pass the UTM values captured to prefill your form.
It works very simple.
Your iframe code normally look like this
<iframe src="https://yourwebsite.com/optin-form" frameborder="0" width="1000" height="700" scrolling="no"></iframe>
simply add the utm-src class to your iframe like this
<iframe src="https://yourwebsite.com/optin-form" class="utm-src" frameborder="0" width="1000" height="700" scrolling="no"></iframe>
And you are good to passing all the UTMs to your iframe URL :)