# \#script

**URL:** https://community.gravityforms.com/tag/script/287.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Add data-cookieconsent="ignore" to Gravity Forms \<script\> tag](https://community.gravityforms.com/t/add-data-cookieconsent-ignore-to-gravity-forms-script-tag/14123)

<div class="topic-metadata">

**Author:** [@marianssen](https://community.gravityforms.com/u/marianssen)\
**Replies:** 1\
**Last updated:** [December 22, 2022, 7:47pm UTC](https://community.gravityforms.com/t/add-data-cookieconsent-ignore-to-gravity-forms-script-tag/14123 "2022-12-22T19:47:01Z")

</div>

Hi there, I need to add a parameter to all Gravity Forms tags in HTML. The scripts are enqueueing automatically via a shortcode. The parameter is data-cookieconsent=“ignore” - this is used by cookiebot to skip these sc…

---

## [Gravity forms code in \<head\> - Why so much code at the very top?](https://community.gravityforms.com/t/gravity-forms-code-in-head-why-so-much-code-at-the-very-top/12363)

<div class="topic-metadata">

**Author:** [@luc1](https://community.gravityforms.com/u/luc1)\
**Replies:** 1\
**Last updated:** [April 6, 2022, 2:56pm UTC](https://community.gravityforms.com/t/gravity-forms-code-in-head-why-so-much-code-at-the-very-top/12363 "2022-04-06T14:56:30Z")

</div>

We’re doing some troubleshooting on our news site and noticed Gravity injects itself immediately at the top of the HEAD on the page. We are using the latest version which defers the javascript but having a big chunk of …

---

## [Retrieving Billing Fields Setting When Localizing Script](https://community.gravityforms.com/t/retrieving-billing-fields-setting-when-localizing-script/1391)

<div class="topic-metadata">

**Author:** [@mipaca](https://community.gravityforms.com/u/mipaca)\
**Replies:** 0\
**Last updated:** [March 24, 2019, 10:04pm UTC](https://community.gravityforms.com/t/retrieving-billing-fields-setting-when-localizing-script/1391 "2019-03-24T22:04:53Z")

</div>

I am trying to figure out how to set the localization of a script based on a billing field setting. The bt\_field in the below code needs to be set to a field name that is chosen in the billing field settings. Can this be…
