As businesses seek to gain more insights into their website visitors and optimize their marketing efforts, advanced tracking capabilities have become increasingly important. Google Analytics 4 (GA4) offers more advanced tracking features than its predecessor, Universal Analytics, but setting it up can be challenging.
However, with the GA4 Advanced tag for server Google Tag Manager (GTM), you can track and override advanced metrics and parameters that are not available in the default GA4 tag.
In this blog post, we'll explore the GA4 Advanced tag and how it can help you gain deeper insights into your website visitors, improve tracking accuracy, and optimize your campaigns. We'll also discuss how to set up the GA4 Advanced tag in GTM Server Side and provide best practices for using it effectively.
Choosing the GA4 Advanced tag over the GA4 Base Tag can offer several advantages, especially for businesses that require extended tracking potential. The GA4 Advanced tag allows you to use more advanced metrics and parameters, including the ability to override all parameters (including _gcs and cid) and leverage Data Source settings to build requests to Google Analytics using eventData properties (is now in Beta). Additionally, the GA4 Advanced tag is compatible with Google Analytics 4 Measurement Protocol, which enables the collection of custom event data that can be used for advanced analysis and optimization. GA4 Advanced tag can be a powerful tool for businesses looking to take their tracking efforts to the next level.
Measurement ID - If the event came from a GA4 web tag, you can leave this field blank to inherit the measurement ID of the event.
Redact visitor IP address - Remove visitor IP address from the event. Reports based on the event will not include geographic information.
Event Name - The event name to send to Google. See the recommended events for more information. If this field is blank, the value of the event_name parameter will be sent.
Request Headers - specify Request Headers that should be sent.
Data Source Settings:
Logs Settings - select if you want to use stape logs.
3. In your server container, on the left menu go to “Templates” and click “New”.
4. On the right, click three dots and choose “Import”. Select the GA4 Advanced Tag that you just downloaded.
5. Click Save button.
6. In the tab “Fields” you will see all optional fields:
7. On the left menu, go to “Overview” and click “New tag”. In “Tag configuration” choose GA4 Advanced.
8. Set up GA4 Advanced tag based on your requirements.
9. Don’t forget to add the triggers. If you select Incoming Request as a Data Source ensure to use GA4 requests in the trigger. When selected Event data any type of trigger can be used.
GA4 Advanced tag can be a powerful tool for gaining insights into your website visitors and optimizing your campaigns. It's easy to set up in GTM Server Side and with our best practices, you'll be using it like a pro in no time. With all its great benefits, there are no reasons not to give the GA4 Advanced tag a try. If you have any trouble getting the tag set up or need help understanding exactly how to use it, don't hesitate to contact Stape support.
In this article, I will cover removing personal identifiers from GA4 using stape power-up and manual implementation. This is an extension of our previous blog post, which covered how to use GA in a GDPR-compliant way.Mar 28, 2023
In this guide, find out how to set up server-side Google Analytics 4 for WordPress using GTM server-side plugin by stape.