I have been doing some research on this topic and wanted to validate that I am understanding correctly what needs to be done to capture lead source from a URL.
Do I need to create a field labeled: utm source?
Then append URL's with ?utm_source=website to capture the word "website" into the custom UTM Source field?
For example, my team posted a video to our website that is tracked by a munchkin tracking code. I originally had our team append the URL with ?source=website but the information wasn't being transferred to the lead. In doing some research it appears this isn't possible without putting a form on the page with a hidden field to capture this information. So I am thinking the above may be the correct work around?
I appreciate any input on this topic.
Thank you!
Hi Christine
You can capture the value "website" in any Marketo field. You can create a field "utm source" or use the default field "lead source", if you want.
To capture the data, you need to add this field to your forms, as hidden a field, then set the field value to be a URL parameter, and set the url parameter name to utm_source.
-Greg
Thank you, Gregoire for your response.
What if the page I am trying to capture the source from does not contain a Marketo form? I understand the hidden form field capture, I'm trying to capture certain source codes from the URL.
Thank you,
Christine
Hi Christine,
Do you mean the entry page on the site does not contain any form or the page does contain a form that is not a Marketo form ?
-Greg
Hi, I mean the page does not contain any form.
So it sounds like I need to add some java script? Do you have any documentation you could send me about this?
Thank you again for your help!
Christine
Sounds like the majority of this activity will be anonymous, correct? If so, then your options are pretty limited on what you can report out of Marketo - and even more so after next weekend's release - when the "is anonymous" filters are removed from smart lists (Removal of "Is Anonymous" filters.). You'll have to rely on Google Analytics (or other platforms, like DemandBase) for anonymous activity beyond what you will still be able to achieve in the Web Page Activity Report and the Company Web Activity Report.
Hi Dan,
You can also use cookies to store at least the first set of UTM's in permanent cookies (live span 2 years) and capture them later when the lead converts.
You then can use cookies to store the most recent set of UTM's in session cookies (live span session) and capture them in Marketo when the lead converts again.
With all this, you can get easily :
It just take some JS to do it.
It remains very complementary to GA, as, for instance, this will never give you accurate info about which channels convert and which don't.
-Greg
Agree - I'm familiar with the basic approach here. It sounded like there was some urgency around this and wanted to set the expectation that - without js - your options are very limited if the intention is to identify lead source of anonymous users.
Hi again Dan
Fully agree with you on this
-Greg
Thank you both!
Do either of you have a recommendation of where to look or what to search for in the community for helpful guides to set up the javascript?