Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Tracking UTM parameters of a submitted contact form

Tracking UTM parameters of a submitted contact form

Overhood
New Member
4 0 0

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

 

Replies 5 (5)

Sajat
Shopify Partner
311 35 45

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

Overhood
New Member
4 0 0

-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! 

Small_Task_Help
Shopify Partner
830 28 75

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.

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad

Overhood
New Member
4 0 0

Screenshot 2024-08-05 at 12.21.42.png

 

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? 

Sajat
Shopify Partner
311 35 45

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.