Is it possible to add the data-consent="analytics" attribute to the HubSpot analytics script to ensure that it only runs when the user has given explicit consent for analytics tracking, thereby making it GDPR-compliant?
what I want to achieve is this:
<script type=“text/javascript” id=“hs-script-loader” async defer src=“js-eu1.hs-scripts.com/139607942.js”></script>
soo it look like: <script type=“text/javascript” id=“hs-script-loader” data-consent=“analytics” async defer src=“js-eu1.hs-scripts.com/139607942.js”></script>