tag-manager icon indicating copy to clipboard operation
tag-manager copied to clipboard

No Error Messages When Calling Non-Existant Variable in Tag Manager

Open danielmcclure opened this issue 3 years ago • 2 comments

I just spent a good while trying to discover why data from a certain tag wasn't being collected even though the tag was firing in the debug view. Ultimately it seems that the Matomo Configuration variable had been renamed but the Tag calling that configuration variable was still firing and looking for the old name.

It seems to me that it would be good to either identify the tags via a unique persistent identifier to allow for renaming or throw an error message in the debugger when a tag is trying to call a non-existant variable, whether it is a Matomo configuration or otherwise.

danielmcclure avatar Dec 22 '20 02:12 danielmcclure

Hi @danielmcclure just fyi AFAIK when you rename a variable it is supposed to rename it in other places as well automatically. It should have done that

tsteur avatar Dec 22 '20 02:12 tsteur

Ok, thanks. I'm not sure how it got out of sync but this was definitely the issue and it is working since I fixed it.

danielmcclure avatar Dec 22 '20 03:12 danielmcclure

Fixed with #524

AltamashShaikh avatar Aug 02 '23 03:08 AltamashShaikh