Google Tag Manager example: Hide the promo field
Storeganise does not offer support for GTM use or guarantee that any custom GTM code will work within Storeganise. Additionally, periodic updates to the Storeganise API could impact or even break how custom GTM code works. Please note also that many users may not see changes made via GTM due to the widespread use of ad-blockers.
Here's a Google Tag Manager tag example for hiding the promo code field
<style nonce="{{styleNonce}}"> /* hide promo field */ div:has(> .form-floating > [name="code"]) { display: none; } </style>
And just add a DOM Ready event for this tag:
Now after publishing the tag, the promo code field will be hidden