Issue Feature Closed

#91499Additional attributes for includeJS, includeCSS and all others include**

Christian Stern 05/26/20, 22:03 updated 12/06/22, 21:38

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