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

[Feature request] Create, save (and eventually share ?) custom HTML templates #707

Open
SW-Vincent opened this issue Oct 20, 2023 · 1 comment
Labels
Enhancement New feature or request

Comments

@SW-Vincent
Copy link

SW-Vincent commented Oct 20, 2023

To be quite fair, there are very few tag templates within the Matomo Tag Manager.
For those who would like to use the Matomo Tag Manager for anything else than Matomo, it can be a huge handicap and customers can often chose to use the Matomo Tag Manager for Matomo only and keep an other Tag Manager for any other purpose (espescially since other tag managers have error handling, which is an other topic).

It would make a fine addition to Matomo Tag Manager features to be able to create and save Tags templates.

It would require an addition to the container left menu :

image

Aswell as an addition to the "create tag" menu :
(may you forgive my poor editing skills)
image
We could either imagine the "choose" button to open a pop-up to select the desired template or it could be a drop-down menu just like the "select trigger" menu within a tag.

The tags template section would work just like the tag section, with the list of created tags templates and a button below to "create a template". Each tag template with an edit button and a delete button just like tags have.

Now for the tag template edition interface, it may look like this :

image
In this exemple the name / description section would dynamicly expand based on a specific syntax (i chose #field-name# to differenciate it from variable syntax but it is just an example).
Edit : I forgot to update the description of the last field within the capture (bottom right), don't take it into account.

Finally, the template use would be pretty much similar to the use of any Matomo Tag Manager template, nothing special here.

Note that i didn't specify things like "drop down fields" just like "tracking type" in the matomo tag template.
image
There could be either :

  • a "parameter" section to define all selectable values for this type of field, which would require a specific syntax to differenciate fields and parameters.
  • a dropdown menu within the field section at the bottom to define a field either as free input or limited (in which case we would be able to define its possible values).

Additionnally, and i say so because it would probably require bigger dev efforts, it would be nice to be able to share / import templates, either :

  • locally, just like we import a container version
  • online, to share templates or use templates from the community. It would hightly compensate the limited ammount of templates issue but would require a dedicated space.

Edit : what happens when a used template is edited should be considered for error handling

@snake14
Copy link
Contributor

snake14 commented Oct 23, 2023

Hi @SW-Vincent. Thank you for taking the time to put together this detailed feature request. I am marking it for our Product team to review and prioritise.

@snake14 snake14 added this to the For Prioritisation milestone Oct 23, 2023
@snake14 snake14 added the Enhancement New feature or request label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants