Recently embedded a form on our website using hidden utm's, but when leads fill out the form, the utm's do not appear.
Form with hidden utm's
When I look at the activity log, I see the utm's are there
But the utm's are not populating on the lead record when the form is filled.
I do see that on the activity log the query param is missing, but the url for the form does have the query params: https://xxxxxx.com/#?utm_medium=website&utm_source=organic&utm_campaign=contact_me
What am I missing to make this embedded form populate the utm's?
What do you mean by "the URL for the form has the query params"?
Either the person viewed the page w/params or not. It'll show the form either way. If the Visit Web Page didn't have the params... there weren't params.
Aren't the query params the utm string after the ".com/#?" ? I thought in order for the query params to appear in the activity log they needed to be included in the url, yes/no?
The form is hosted on our wordpress page, the url for the page where the form is embedded is www.companyname.com. The "Contact Me" button that leads click to fill out the form has the url and params:
If I understand correctly, in order for this form to populate utm's correctly, I need to create a trigger or filter of Visit Web Page and a constraint of utm_medium=website&utm_source=organic&utm_campaign=contact_me
Or am I just not understanding query params?
In order for the form to populate the UTMs, you just need to visit the page with the form and have the utm params present in the URL. No need for triggers or smart campaigns.. just a form that can scrape the values out of the URL and populate your hidden fields.
So, I guess I’m just really confused what to do here. In my url: https://xxxxxx.com/#?utm_medium=website&utm_source=organic&utm_campaign=contact_me<https://nation.marketo.com/external-link.jspa?url=https%3A%2F%2Fprepass.com%2F%23%3Futm_medium%3Dwebsite%26utm_source%3Dorganic%26utm_campaign%3Dcontact_me>, are you saying I don’t have any query params? Could you please explain in more detail what query params are and what I need to do to make this work.
Read my correct answer in the thread https://nation.marketo.com/message/195899-re-visits-web-page-trigger#comment-195899.
Hash comes after query string, not before. In your example there is no query string.
URL format is
has no querystring. Rather, the hash is "#?utm_something=value" because the question mark has no special meaning after the hash begins.