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

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

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

Vincents
Shopify Partner
3 0 0

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?

Replies 2 (2)

J_mah
Shopify Partner
200 11 26

Hi vincents,

 

To prevent bot traffic, consider cloudflare. Cloudflare has the feature to verify the human when someone visit to your website. 

 

J_mah_0-1739262542584.png

 

Kind Regards

Your COFFEE TIP is here!
For Google Tag Manager GTM setup or Store design assistance DM me
sam.analyst4@gmail.com! orWhatsApp!
Solved? accept it as solution with like
Vincents
Shopify Partner
3 0 0

Hi Jmah, how is this implemented? We're on Shopify Plus