tag-manager
tag-manager copied to clipboard
[Enhancement] Prevent user from deleting a custom variable called within a custom JS variable
Currently, when trying to delete :
- a variable called within a tag or trigger ;
- a variable called within a trigger ;
Matomo Tag Manager will prevent you from deleting it, displaying the list of active tag / triggers preventing you from doing so :
BUT there is no such a think when trying to delete a variable that is called within a custom JS variable (which is a much more recent feature).
Hi @SW-Vincent Thank you for surfacing the problem and creating this issue. It definitely sounds like we should look into expanding our variable usage check.
Thank you again for surfacing this issue @SW-Vincent . The fix has been merged and should be included in the next release of Matomo.