I'm including a Custom script in GTM that makes a call to an external resource. The script looks like this
<script type="text/javascript" id="some-key" data-key="xxxxxxxxxxxxxxxxxx" src="link-to-external-resource"></script>
I've set its triggering to All pages which currently triggers fine But the problem is, the script renders without the data-key attribute in the DOM. It's rendering in the DOM looks like this
<script type="text/javascript" id="some-key" src="link-to-external-resource"></script>
Am I missing something? Is there a way to include data-* attributes in Google Tag Manager?