UTM parameter missing in report

Anonymous
Not applicable

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
Mark_Wallace1
Level 4

Hi All

I was about to add a case but noticed this one at the top of the list.

I have the UTM query parameters missing for some contacts but not others.  All coming from the same place and google url.

Its reporting original referrer in a selection of ways.

The google url was used on a Linked in sponsored ad.

pastedImage_0.png

In most cases the UTM parameters are in the query parameters but that wont show in the original referrer field.

pastedImage_2.png

I'm not sure whats going on.

thanks

Mark

Michael_Oslin
Level 3

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

SydneyMulligan
Level 10 - Champion Alumni

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

That might confuse Marketo.

Anonymous
Not applicable

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?

SanfordWhiteman
Level 10 - Community Moderator

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.

SydneyMulligan
Level 10 - Champion Alumni

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

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

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

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

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