#91499Additional attributes for includeJS, includeCSS and all others include**
Description
Services like usercentrics wants to add special data-attributes like usercentrics=“Google Analytics” to assets included on a page.
The service wants <script> looks like this:</p> <p>
<script type="text/plain" data-usercentrics="Google Analytics" async="" src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script></p>
<p>With page.includeJS it is not possible to add this attribute via TypoScript-setup.</p>
<p>This would make similar integrations much more simpler.</p></script>Reviews 3
Related issues 5
- Feature #89781Add data attributes to JavaScript files
- Bug #98626Filter if conditions before creating tags in PageRenderer
- Bug #100954Additional attributes for page.include** partially broken
- Task #103882unify additionalAttributes with includeCSS / includeJS
- Task #107486Update Feature-91499-AdditionalAttributesForIncludeJSIncludeCSSAndAll…