Re: UTM parameters

Anonymous
Not applicable

UTM parameters

I am wanting to track "Visited Web Page" with utm parameter: utm_source=LinkedIn. In order for these to track that a particular page on our website was visited from clicking on that link from LinkedIn, do I need to have javascript set up on that website page? From what I'm reading here, it appears so. If so, how do I know what js to use? Or, am I missing something here? I just can't seem to get this to work correctly. Thank you in advance!
Tags (1)
11 REPLIES 11
Anonymous
Not applicable

Re: UTM parameters

If someone can direct me to any good training on this, it would be greatly appreciated! 🙂
Anonymous
Not applicable

Re: UTM parameters

Hi Joy - I'm not sure if this is going to help your situation or not but for capturing UTM Parameters from URL's for Form Submits I use the following code below along with a hidden Custom Marketo Fields in the form.  However if no form is submitted then I believe you are relying on "visited web page" data and perhaps your UTM Sources are showing up in there?


<script language="Javascript" src="/js/public/jquery-latest.min.js" type="text/javascript"></script>
<script src="/js/public/jQueryString-2.0.2-Min.js" type="text/javascript" ></script>
<script>
  // to set cookies.  Uses noConflict just in case
  var $jQ = jQuery.noConflict();
  var utm_keyword = $jQ.getQueryString({ ID: "utm_keyword" });
  var utm_source = $jQ.getQueryString({ ID: "utm_source" });
  var utm_term = $jQ.getQueryString({ ID: "utm_term" });
  var utm_campaign = $jQ.getQueryString({ ID: "utm_campaign" });
  var __kk = $jQ.getQueryString({ ID: "__kk" });
</script>
Anonymous
Not applicable

Re: UTM parameters

Hi all, 

I'm running into what seems to be the same issue:

We use Google UTM parameters for links in almost all of our digital marketing efforts. We can obviously view these results at a macro level through GA, but anything after the "?" in the page URL (i.e. all of that valuable utm data) doesn't seem to be passing into Marketo, at least not on the "visits web page" activity listed on a lead record's activity tab. 

Is that a known Marketo issue? Joy, has the code that Robert posted above solved this issue for you? Did you have to add any custom Marketo fields? 

Robert, we use non-Marketo landing pages, if that makes a difference...
Kelly_Schmid3
Level 4

Re: UTM parameters

Wondering if anyone got the answer to this? We're running into the same issue.

Thanks,
Kelly

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM parameters

A few ways to do this.

1. Create a form that has only the UTM fields on it (all type=Hidden, pulling from the URL params). Inject the form into the page but don't display it. If any of the fields have values, call form.submit (the user will not ever see the form, but data will be stored as individual lead fields in Mkto).

2. Parse the info out of the URL yourself. Call a custom Munchkin 'viewWebPage' action (/utm/campaign/campaign12345, etc.). The lead will then have this action in their Activity History so you can search on it easily without going into the query string.

3. Search the query string as an additional constraint.

Anonymous
Not applicable

Re: UTM parameters

I found this slideshare from a Marketo webinar (I'm guessing) that might be helpful.

Campaign attribution - how to capture all touch points using Marketo

I am not sure I will have the time to test it this week, but I would appreciate if someone did and shared results.

Best,

Hussam

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM parameters

Hussam AlMukhtar​ that session from 2010 does contain some still-current info, but most of it isn't germane to this specific question.

It's best to look at the problem this way: "How do I track the lightest possible touch that comes in from search -- a single anonymous web view?"

The most direct answer is "You already are."  Visit Web Page activities do contain the query string, which you can include as a Constraint in a SL filter.  However, the query string isn't parsed into Lead fields or into a special type of activity this way.  So if you want more precision/findability, you can do one of things I mentioned, which will either fill in fields on the lead or give you a synthetic search-specific URL to look for.

Grant_Booth
Level 10

Re: UTM parameters

If the Munchkin tracking code is present on the page (see Admin > Munchkin), then it should capture the visit to the page in the lead's activity log. Then, you can use the Visited Web Page smart list filter, adding the querystring constraint to it. That will tell you which leads have done so. Like this:

VisitedWebPage.png

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM parameters

... which is exactly what I wrote above...