Is there a way to submit utm param values as hidden values on form submission from original referral url, without using javascript? I'm doing below(image) but not catching anything on form submission.
Thank you for your help!
We had the same problem recently when we moved to using a universal form structure (i.e., using the same form ID across multiple pieces of content), but we were able to successfully use hidden fields for URL Parameter on our forms (we do not use JS)
Here's how we have the smart campaign set up to listen for the form fill, and determine which program to assign success based on the UTM data captured from the hidden fields.
Hope this helps!
+1 on Dan on this. The original UTMs when the person lands on your web site can only be captured without JS if the Marketo form is on that same first navigation page.
If you want to get the UTM values to persist through the web session and be captured on the second or following page, you will need to store them in cookies or local storage and capture the values from there.
-Greg
Thanks Greg.
The munchkin code does not track that in the original referral? I thought it would capture the first touch url there.
Our developer is not aboard with using js(citing newer browser policies around tracking) and says Marketo is storing and we should use that than dropping our own cookie.
The munchkin code does not track that in the original referral? I thought it would capture the first touch url there.
The Original Referrer is stored on the lead. It isn't stored in the browser (for the obvious reason that the current session may still be anonymous and couldn't possibly know what the value might be once the anonymous session is merged with an already-known lead).
Our developer is not aboard with using js(citing newer browser policies around tracking)
This objection makes no sense. Munchkin already uses JS + cookies for tracking. Adding a persistence layer (and often many such libraries) is normal behavior for a modern website and if the developer doesn't understand that, they should get out of the way.
Finally, we are implementing MarTech/UTM-Tracking at master · yanirclsr/MarTech · GitHub and on testing, the lt fields are not populating on form submission. On forms, I have Form Pre-fill: Enabled for all ft fields-
On all lt fields, Form Pre-fill: Disabled-
Am I missing something?
Do the values show up when you open Developer Tools under session storage?:
Sorry, I was too quick to respond earlier, it shows up under 'Cookies' not 'Session Storage'
Yes for the first touch but not last touch. Also, I am confused about last touch logic, is the last touch updated on second form submission? As on first-time form submission, both ft and lt are same. I assumed on second-time form submission it would update the lt fields.
Whatever UTM values are contained in the URL are carried through from page to page during the entire session (and available to populate the hidden form fields). After the session, the values are no longer available.
No idea, I don't use that library but have my own.
Ok, Thanks.
Appreciate your input Sanford Whiteman
"Get Value" should be "URL Parameter" - not "Referral Parameter".
Sorry, read your question too fast. I don't think this is possible without JS. Seems like most are turning to this code here: MarTech/UTM-Tracking at master · yanirclsr/MarTech · GitHub or https://romanoffconsultants.com/solutions/
Thank you Dan, looks like we will have to implement that js.
did you structure your utm and url correctly?
I think Get Value has a diff option there.
URL is structured like: https://xyz.com/test/marketo/?utm_source=bing&utm_medium=cpc and renders like that