Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
We're getting a LOT (1000s per day) of bot traffic from Germany and it tends to be from bots with 800x600 resolution
I wrote some Javascript to stop the GA4 pixel firing when screen.width == 800 && screen.height = 600
This works!
However i'm having trouble stopping the Shopify Analytics traffic
As far as I can tell it's server side tracking, therefore:
1. there's no way to block the traffic pixel when the screen.width is 800 and screen.height is 600
Also, in Shopify Analytics there seems to be no way to block countries such as Germany
Does anyone else know a workaround to this problem?
Hi vincents,
To prevent bot traffic, consider cloudflare. Cloudflare has the feature to verify the human when someone visit to your website.
Kind Regards
Hi Jmah, how is this implemented? We're on Shopify Plus