matomo-org / tag-manager

Free Open Source Matomo Tag Manager - A simple way to manage and maintain all of your (third-party) tags on your website.
https://matomo.org
GNU General Public License v3.0
170 stars 58 forks source link

Old tag is still being used after version update #529

Open mattb123123 opened 2 years ago

mattb123123 commented 2 years ago

I am having a big problem with matomo and it keeps happening.

This is the specific thing that happened: I put the Bing ads global tag in the container. It was there for a few version updates. Then I deleted the tag and saved that version. Then I go to my site and see that the global tag is still there. This happened with another tag before. I think the problem is that there is something wrong with or something I am missing about versions and somehow that the tags are being used by older versions even though I deleted it in the current version. Last night trying to fix this, I downloaded an old version I knew worked, i deleted all tags, triggers and variables, and installed this older version. Then I saw that it did not have the tags I didn't want; it was good. But then I added the bing tag and saved, deleted it and saved (to test), and it's still on my site. Matomo is randomly holding onto old tags even when I delete them in the current version. This happened for Bing ads global tag and for fullsession.io (I don't think there is a common denominator between these two, but there you go).

Any ideas on how to handle this? what's happening? (and of course I am using incognito every time, and tried other browsers).

AltamashShaikh commented 2 years ago

Hey @mattb123123 did you publish your container?

mattb123123 commented 2 years ago

yes. The explanation of the problem is in full in my post.

AltamashShaikh commented 2 years ago

@mattb123123 I tried replicating the issue and it seems to work as expected for me. I created 1 Bing Ads UET Tag and I was able to see the tag, later I deleted the Bing Ads UET Tag and checked the same page again after a refresh and I can see that the tag is not present.

Is this behaviour consistent for all of your tags or its just Bing Ads UET Tag ?

And can you confirm that you are not loading the JS via some CDN?