How can I add an additional tag to catch click fraud bots in GTM?

I am not exactly sure where to post this but I have GTM setup within my added scripts in checkout. I however am dealing with click fraud and wanting to add an additional tag to my analytics that will catch these bots and put an end to it. However, it isn’t working via GTM and adding the code under the Google Tags in checkout isn’t working either. The chat support I have spoken with is saying Shopify might be loading in a cache and it might need to be cleared? How can I go about this?