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!
Anonymize GA4 data for GDPR compliance using Stape's Anonymizer or manual GTM redaction. Remove PII like IPs, client IDs, and referrers to protect user privacy.
Learn easy steps to identify and filter out spam traffic in GA4 using Stape's bot detection power-up, ensuring cleaner, more reliable analytics.