Hi,
we are currently reviewing our bot filtering setup in Stape and would like to understand what additional options are available to improve bot protection.
Our current setup is:
-
We use the Stape Bot Detection Power-Up
-
The Power-Up is enabled, but “Block requests from bots” is currently OFF
-
We use the bot detection headers in sGTM:
-
X-Device-Bot -
X-Device-Bot-Score
-
-
In our sGTM triggers, we exclude traffic when:
X-Device-Bot = true
-
We also exclude some traffic based on country, e.g. CN and SG
-
For some page_view logic we additionally exclude known bot user agents such as
AdsBot
Our general flow is:
Web GTM
→ sGTM hosted on Stape
→ GA4
→ Google Ads
→ Meta CAPI
So bot filtering is currently handled mainly inside sGTM at trigger level. The request can still reach the server container, but GA4 / Google Ads / Meta tags should not fire when Stape identifies the request as a bot.
We have a few questions:
-
Is this considered a good/recommended setup, or would you also recommend enabling “Block requests from bots” in the Bot Detection Power-Up?
-
If we enable “Block requests from bots”, what exactly happens compared with filtering via
X-Device-Bot = truein sGTM triggers?-
Is the request rejected before it reaches the server GTM container?
-
Does this provide better protection or mainly reduce sGTM processing/cost?
-
-
Is there any disadvantage to enabling “Block requests from bots” when we already filter bot traffic inside sGTM?
-
Could enabling hard blocking affect legitimate server-to-server traffic, Data Client requests, webhooks, CRM requests or other automated requests going through the same Stape container?
-
Would you recommend using
X-Device-Bot-Scorein addition toX-Device-Bot?For example:
-
allow
< 50 -
monitor
50–75 -
block
> 75
-
-
Are there any additional Stape features or recommended techniques we should use for bot protection?
-
For GA4 / Google Ads / Meta traffic specifically, what would you consider the best-practice architecture:
-
filtering only inside sGTM,
-
hard blocking in the Stape Power-Up,
-
or a combination of both?
-
Our main goal is to prevent bot traffic from reaching GA4, Google Ads and Meta, while avoiding false positives and not blocking legitimate CRM/server-to-server requests.
Thank you very much