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

Allow setting custom data-attributes for script-tag #97

Open
abenz1267 opened this issue Mar 28, 2023 · 1 comment
Open

Allow setting custom data-attributes for script-tag #97

abenz1267 opened this issue Mar 28, 2023 · 1 comment

Comments

@abenz1267
Copy link

Hi,

some cookie-managment tools like f.e. cookiefirst.com require you to setup a data-attribute so the script only gets loaded when cookies have been accepted, f.e. <script type="text/plain" data-cookiefirst-category="advertising">Your script here</script>.

Would be nice to have to option to add custom data-attributes.

Regards

@revolunet
Copy link
Member

Hi @abenz1267 , could you propose a pull request for this ?

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