UTM parameter missing in report

Anonymous
Not applicable

UTM parameter missing in report

In testing whether a form was properly capturing UTM parameters using hidden fields on the form, I created a mock campaign URL wherein:

Original URL: http://URL.com/marketo-form-test/?aliId=5940711

utm_source = Twitter

utm_medium = Social

utm_term =  GTS-2016

utm_content = Visit

utm_campaign = Organic

Campaign URL: http://URL.com&utm_campaign=Organic&utm_medium=Social&utm_source=Twitter&utm_content=Visit&utm_term=...

The form is able to successfully capture utm_source (Referrer in Marketo) and utm_medium (Medium) but for some reason utm_campaign (Source) is not being captured. I'm not quite sure why that is. It's just a blank field in the report. 

Also, are there fields in Marketo that can be added to the form (hidden, too) that align to the other utm parameters?

Thanks,

Tim

10 REPLIES 10
SydneyMulligan
Level 10 - Champion Alumni

Re: UTM parameter missing in report

Is it because you started your querystring with a & instead of an ?

That might confuse Marketo.

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM parameter missing in report

Not just Marketo -- standard URL structure requires the ? separating the pathname from the query string!

Anonymous
Not applicable

Re: UTM parameter missing in report

So I replaced the # with ? in the query string but that did not help any. Instead it returned a whole different set of captures.

Original URL: http://URL.com/marketo-form-test/?aliId=5940711

utm_source = Twitter

utm_medium = Social

utm_term =  GTS-2016

utm_content = Visit

utm_campaign = Organic

Campaign URL: http://URL.com/marketo-form-test/?aliId=5940711?utm_campaign=Organic?utm_medium=Social?utm_source=Tw...

In this case the form only captured the Medium and did so incorrectly (utm_medium). It failed to capture any other field.

Any idea why that might be?

SydneyMulligan
Level 10 - Champion Alumni

Re: UTM parameter missing in report

You need to use a ? for JUST the first parameter. Your URL should be structured like this:

http://URL.com/marketo-form-test/?aliId=5940711&utm_campaign=Organic&utm_medium=Social&utm_source=Tw...

Michael_Oslin
Level 3

Re: UTM parameter missing in report

Sidney,

Do you know what report I can use to view the utm values?

I'm new to Marketo and cannot figure out where I can view this information. I've created a smart list, but it doesn't compile historical information, instead it overwrites the member information with the new submission UTM values.

UTMcapture.jpg

SydneyMulligan
Level 10 - Champion Alumni

Re: UTM parameter missing in report

The way Marketo works is that it will overwrite/update information for each lead. The lead is the unique identifier, not the event. You could look in the lead's activity log to see where the data was changed, but you can't pull a list that will contain multiple values for each lead. What you are doing is correct. Sanford Whiteman​ probably knows more than I do, though. There may be some way to get around that with the API, perhaps.

Michael_Oslin
Level 3

Re: UTM parameter missing in report

Sydney,

Thank you for the prompt reply-

Yeah, Sanford replied as well. It doesn't appear to be native functionality so we are looking at passing data into a custom data object to see if that will help us compile historical data.

Again, appreciate your help!

Michael

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM parameter missing in report

A query string starts after the first ? character. It does not contain any more literal ?s.

A query string contains one or more so-called query parameters.

Each parameter takes either the form

  paramname=paramvalue

or simply

  paramname

Those params are then separated by the & character.

Thus

http://example.com/?a=b

http://example.com/?a=b&c=d&e=f

http://example.com/?g

are all valid formats.

Your format with multiple ?s is not valid.

Michael_Oslin
Level 3

Re: UTM parameter missing in report

I'm very new to Marketo and I'm curious which report I would use to view the UTM submissions?