Tracking Google Analytics 4 On Your Own Website

If you’re reading this you’ve probably read our other article on “How to set up Google Tag Manager”. As we said in that article, our GTM container is set up perfectly for the Ticketsolve side of this and we’ve added a few other handy things for your website. However, if you want to track GA4 pageviews on your website, you will have to set up a GA4 Configuration tag that will work on your side of things. 

Why do you need to do this? 

In the GTM container that we have set up, it's filled with GA4 tags that only work on the Ticketsolve pages. They only start counting and collecting data when your customer says it's okay to use cookies.

Now, your website will have its own way of asking for cookie permission, so it's important to have a new GA4 tag that does the same thing - only counts and collects when a customer says "yes" to cookies on your website.

If you forget to add this new tag that responds to your cookie permission, you won't be able to see who's visiting your website. You'll only see visits when the customer goes to the Ticketsolve pages. But, you'll want to see the whole picture, right? You want to know how customers use your entire website, not just the Ticketsolve part.

What do you need to do?

You need to create a new GA4 tag that will start counting and collecting data when a customer agrees to cookies on your site. We would recommend talking to your current website developers as they will be able to add the new tag and trigger easily into the GTM container. While we would absolutely love to assist you with this step, the wide range of methods for managing cookie permissions can make it a bit tricky. However, don't hesitate to reach out to us if you need any advice - we're just a phone call away!

Don't worry, though, you'll still use the same GA4 tracking ID. The only change is that your tag needs to start working when a customer says "yes" to cookies on your site. If you don't have a way to ask for cookie permission on your site yet, we suggest you get one to ensure that you meet all the regulations around the Privacy and Electronic Communications Regulations (PECR). Until then, you can set up the GA4 tag to count and collect data on all pages and change this setup when you have your cookie permission in place.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.