# How can I modify auto-generated "script" tags?

**URL:** <https://community.hubspot.com/t/how-can-i-modify-auto-generated-script-tags/69432>\
**Category:** CMS Development\
**Tags:** javascript, forms\
**Created:** [November 17, 2022, 5:23am UTC](https://community.hubspot.com/t/how-can-i-modify-auto-generated-script-tags/69432 "2022-11-17T05:23:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marquizzo](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@marquizzo](https://community.hubspot.com/u/marquizzo)\
**Post date:** [November 17, 2022, 5:23am UTC](https://community.hubspot.com/t/how-can-i-modify-auto-generated-script-tags/69432/1 "2022-11-17T05:23:33Z")

</div>

Hubspot automatically generates some scripts at the end of the page when we add the {{ standard\_footer\_includes }} line. Is there a way for me to modify some of the scripts it generates? I’d like to be able to add a data attribute named “data-ot-ignore”:

```lia-code-sample
Now:
<script data-hs-allowed="true" src="/_hcms/forms/v2.js"></script>

Desired:
<script data-hs-allowed="true" src="/_hcms/forms/v2.js" data-ot-ignore></script>

```

The reason we need this is that our cookie policy third-party script automatically disables the “forms/v2.js” script, thinking it’s a tracker. If I could add the “data-ot-ignore” attribute, this third-party script would ignore it. How could I add this attribute?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 17, 2022, 10:58pm UTC](https://community.hubspot.com/t/how-can-i-modify-auto-generated-script-tags/69432/2 "2022-11-17T22:58:53Z")

</div>

Hi, @marquizzo 👋 Thanks for reaching out! Let’s see if we can get the conversation going — hey @miljkovicmisa @mangelet @JBeatty, do you have any experience here? Thank you! — Jaycee
