All things Shopify and commerce
The user fills out the contact form and a email with the data of the form comes to the mail. But is there any way to get UTM parameters of the submitted form? I think this is quite a serious problem because we have know idea on what page the form was submitted
Hi @Overhood
Welcome to Shopify Community.
Based on the info that was provided above, it seems like you have more than one contact form on your site. Is that correct?
Also, are you tracking form submission from GTM?
If you are, you can add events on GTM, that tracks the URL as well.
If possible, can you please share your store URL( with the pages that have the forms).
I will check and suggest you the solution.
Thank you.
Sajat
-Yes, it is correct
-Yes, we are using GTM
-We've added the event to track but, honestly, I don't know how to add tracking of UTM parameters in the even
-1) https://over-hood.com 2) https://over-hood.com/pages/contact
Thank you, Sajat!
Hi,
Hope this will help
Need to use JavaScript to store UTM parameters in cookies
Add hidden fields to contact form
Adjust the script that processes the contact form submission to include UTM parameters in the email notification.
Thanks for the replies. Let me clarify a bit. This is the default email that comes from Shopify when someone fills out a form. Is it possible to add page data with UTM parameters to this email?
Hi @Overhood
Thank you for the screenshot.
Right now, it is not possible to include other data apart from what is provided by default by Shopify on the emails sent by shopify.
What you can do is, create an Event for Form Submit on GTM for both the pages.
That way, you will see the form submission record on Google Analytics -> Engagement -> Events, with the unique name indicating from which the forms were submitted.
In case, you want to catch the data of the submitted form, you will have to add additional keys on the GA events.
Hope this helps you.
Thank you.
Sajat
-------------------------------------------------------------------------------------------
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024