This power-up checks if the requests are coming from the bot or not.
To use Bot detection power up, log in to your stape.io account, open the sGTM container, go to the Power Ups tab, and click Bot detection power up. After that, enable the power-up and click Save.
Bot Detection consists of:
You can create a variable on the server container with the type 'Request Header' and specify ‘X-Device-Bot’ in it to receive the value of this header.
Use this variable as an additional check in your GA4 trigger on the server and also in any other triggers where you want to limit the impact of bot traffic:
Now, if the request is determined to be from a bot - your tag will not trigger and the data will not be sent!
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.
Learn how to improve data quality after implementing consent mode and anonymization using Stape’s GEO headers power-up.
Learn easy steps to identify and filter out spam traffic in GA4 using Stape's bot detection power-up, ensuring cleaner, more reliable analytics.