Intercepting Shopify Tracking pixel or stop tracking Resolution=800x600 or Country=Germany?

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