Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Prevent user from deleting a custom variable called within a custom JS variable #895

Open
SW-Vincent opened this issue Sep 25, 2024 · 1 comment

Comments

@SW-Vincent
Copy link

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 :
image

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).

@snake14
Copy link
Contributor

snake14 commented Sep 25, 2024

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.

@snake14 snake14 added this to the For Prioritisation milestone Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants