Capture and store utm tags for ananomous leads | Community
Skip to main content
Level 3
December 13, 2014
Solved

Capture and store utm tags for ananomous leads

  • December 13, 2014
  • 3 replies
  • 3268 views
We would like to be able to track the refferal source of the first visit someone comes to our site, even if they don't fill out a form. 

I know that Marketo currently tracks "Original Referrer" but is there a way to include other information? Such as associating any utm tags with the lead without them filling out a form. 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AndrewSi9

If anyone is curious, I was able to solve this by capturing the Google cookie, _utmz, in a hidden field and then parsing it in Salesforce. It is also possible to capture and parse it in javascript and then assign each value to a hidden field.

3 replies

Josh_Hill13
Level 10
December 13, 2014
You will need to create a cookie and jquery to assist munchkin code in doing this. See developer.marketo.com for details.
AndrewSi9Author
Level 3
December 18, 2014
The developer page doesn't really talk about how to do custom cookies and track additional info about leads. Do you know of any examples that have done this? 

I have no problem writing the javascript to pull the nessesary information that I want to track, I am just not sure how to store data on an anonymous lead. 
AndrewSi9AuthorAccepted solution
Level 3
August 18, 2015

If anyone is curious, I was able to solve this by capturing the Google cookie, _utmz, in a hidden field and then parsing it in Salesforce. It is also possible to capture and parse it in javascript and then assign each value to a hidden field.

Edward_Unthank_
Level 7
August 18, 2015

Hey Andrew, is that with the new version of Google Analytics JS (Universal Analytics) or the old code for GA?

AndrewSi9Author
Level 3
August 19, 2015

This is unfortunately with the old code.