Skip to main content
Level 2
Aug 29, 2014 11:06 PM UTC
Question

Passing UTM Source, Medium info through iFrame and Form 2.0

Hi,

Does anyone know if it is possible to pull UTM parameters (source, medium, campaign, etc) into hidden fields on Form 2.0 that is on a Marketo landing page in an iFrame on a website? 

Context:
In the activity log, I've noticed that the "fills out form" activity does not include the UTM parameters (in the hidden fields) in the website URL. Additionally, it does not capture these UTM parameters in the referrer URL or the query parameters, making it hard to filter out in listening campaigns that we have set up to track leads who come from different sources. 

Thanks!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Aug 29, 2014 11:27 PM UTC
This should be possible, but I am not sure if the iframe will cause complications here:

Please check out these two threads:

https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PuEeAAK

https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PvOVAA0
Translate
Level 2
Aug 29, 2014 11:35 PM UTC
Thanks - looks like I'm going to be contacting the developer for this! 
Translate
Aug 29, 2014 11:38 PM UTC
I would also recommend sending them a link to this StackOverflow question:

http://stackoverflow.com/questions/20366731/how-can-i-pass-utm-parameters-from-url-to-an-iframe/
Translate
Josh_Hill13
Level 10
Aug 30, 2014 1:50 AM UTC
Yes, you need to do this via javascript. Also keep in mind if you use the Known Visitor option, the utms will not be passed w/o special coding.
Translate