Join the Tagmate Family to get latest updates and blog recommendations every week.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Blog
GTM
What is an event parameter in Google Tag Manager (GTM)?
GTM
What is an event parameter in Google Tag Manager (GTM)?
By
4 min read
August 1, 2022
Out of the total websites in the world, more than 40% are built using WordPress. That’s a huge number for any CMS platform and hence, there is a great chance that your website is built using WordPress. Also, you probably use the WordPress Contact Form 7 plugin for your website's contact us form.
So tracking of WordPress contact form 7 is extremely important.
We will show two ways to track WordPress contact form 7
Traditional Google tag manager way that would take a lot of time.
An event parameter is a part of the event model in GA4. It represents additional information about the tracked event. Also known as the metadata of the event, it sets the context for the event tracked.
For instance, a user views your product. For tracking data like product name, price, category, variants, title, and other information, an event parameter is used.
Below is an example of an event parameter in the GA4 event tag in GTM.
Check the name and the value of the event parameter.
What are the best practices to name an event parameter in GTM?
Name of event parameter should be in lower case.
For an event parameter name with two or more words, use underscore. For instance, view_search_result, and file_download_excel.
The event parameter name should not consist only of numbers.
The name of the event parameter should not exceed 40 characters.
The value of the event parameter should not exceed 100 characters.
Let’s see some real-world examples of creating an event parameter.
1. Tracking purchases on e-commerce website
Jeff owns an e-commerce website. He wants to track purchase events. So whenever a user purchases any product on his website, details like item name, transaction id, value, tax, shipping, currency, and price should be tracked.
The event name and parameters created by Jeff are:
2. Tracking case study downloads
Christina wants to track the details of case studies downloaded by users from her website. The data to be collected is the name of the case study, the date on which it was downloaded, the number of pages of that case study, and the time taken to download the same.
The event name and parameters created by Christina are:
To keep the data in your GTM account structured and orderly, you need to have a naming convention in place.
Hope this guide helps you name your event parameters in a structured way.
Frequently Asked Questions
Lorem ipsum dolor sit amet consectetur?
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Lorem ipsum dolor sit amet consectetur?
Lorem ipsum dolor sit amet consectetur. Sodales pellentesque enim sed dolor. Vel elementum ullamcorper adipiscing nec tristique. Egestas tellus amet praesent pulvinar quis.
Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet aliquam fringilla amet turpis varius srcu tincidunt potenti in ut amet ac aliquet donec volutpat ?
Lorem ipsum dolor sit amet consectetur. Aliquam diam magnis imperdiet pulvinar posuere. Pretium leo sed nunc morbi. In nibh risus purus ipsum amet. Leo sed laoreet orci faucibus. Ut lorem augue eget id venenatis odio tortor nec. Adipiscing bibendum tellus neque tortor.
Lorem ipsum dolor sit amet consectetur vel id viverra ultricies sed hendrerit et nulla?
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Lorem ipsum dolor sit amet consectetur bibendum diam vel aliquet?
Lorem ipsum dolor sit amet consectetur. Viverra ut feugiat id ipsum morbi. A ipsum massa consequat ut urna vestibulum enim. Mauris id dignissim eu donec. Nibh urna eu nisl volutpat ut purus amet habitant fermentum.
Subscribe to get our latest updates
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
eBook
Nunc lectus tempus dolor libero vulputate dui sed velit Augue enim malesuada
Get served hottest tracking posts from industry-experts every week.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
This is some text inside of a div block.
Heading
This is some text inside of a div block.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.