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

Adding an easy way to create variables for HTML attributes #757

Open
Chardonneaur opened this issue Feb 16, 2024 · 2 comments
Open

Adding an easy way to create variables for HTML attributes #757

Chardonneaur opened this issue Feb 16, 2024 · 2 comments

Comments

@Chardonneaur
Copy link
Contributor

Hi team,
Currently, we have a set of variables for the main HTML attributes like class, id, text.
But not for others, such as title, alt, custom HTML attributes.
It would be nice to have them as some source code are very rich and sometimes the data is within those attributes.
Thank you,

@AltamashShaikh AltamashShaikh added this to the For Prioritisation milestone Feb 16, 2024
@AltamashShaikh
Copy link
Contributor

@Chardonneaur Thanks for opening this issue, I have added this issue for prioritisation

@SW-Vincent
Copy link

SW-Vincent commented Feb 16, 2024

Hi,

Same "issue" here !

While we have the option to specify a custom attribute for "Pages variables" > "DOM element" type variables, there is no such a thing as "Click variables" > "Click element" type variable that would let you chose a custom HTML attributes !
It would be useful because "data-" attributes are used a lot for custom tagging.

screencapture-bergerlevrault-matomo-cloud-index-php-2024-02-16-15_21_22

Note that the same issue goes with not being able to use the same URL-specific variables (host name, query, etc) for a clicked element URL (href).

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

3 participants