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
Is it because you started your querystring with a & instead of an ?
That might confuse Marketo.
Not just Marketo -- standard URL structure requires the ? separating the pathname from the query string!
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?
You need to use a ? for JUST the first parameter. Your URL should be structured like this:
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.
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.
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
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&c=d&e=f
are all valid formats.
Your format with multiple ?s is not valid.
I'm very new to Marketo and I'm curious which report I would use to view the UTM submissions?