Updating the CDN Script
Cookie Consent Hub serves the consent banner from a versioned CDN bundle. When we ship fixes or new features, your dashboard may show Update available. Follow the steps below so your live site loads the latest script.
When to update
- The site overview shows Update available and installed version is behind latest.
- Support or release notes recommend upgrading to a specific CDN version.
- You changed banner or script settings in Customize and published there—upgrading the CDN script is separate and still required when a new bundle is available.
Webflow sites
Webflow installs are managed through the Webflow Custom Code API. You do not need to edit Site Settings or paste a new snippet by hand.
- 1
Open your site in the dashboard
Go to Sites, then open the connected Webflow site. In Script status, confirm you see installed and latest version numbers.
- 2
Apply the latest script
Click Upgrade script (or Apply latest script if the script was registered but not yet applied). Wait until the dashboard shows Up to date.
- 3
Publish in Webflow
Open the Webflow Designer or Dashboard and click Publish for your live domain(s). The updated script only appears on the public site after this step.
- 4
Publish customization (if needed)
If you also changed banner copy, colors, or integrations in Customize, click Publish there so those settings sync to the CDN configuration your site loads.
Manual / non-Webflow installs
For sites without Webflow automation, open the site in the dashboard and use Get Installation code on the site overview. Replace the previous script tag in your site's <head> with the new snippet, then deploy your site as you normally would.
The snippet URL points at the current CDN release configured for your account. After deploying, hard refresh or clear cache if you still see old behavior.
Verify the update
- Dashboard Script status shows installed version matching latest.
- On the live site, open devtools → Network, reload, and confirm the consent script URL includes the expected version path (for example
/prod/1.0.17/). - Exercise the banner (accept / reject) and check Consent Log if you have storage enabled.
Common mistakes
- Clicking Upgrade script in the dashboard but not publishing in Webflow.
- Publishing only Customize changes without upgrading when Update available is shown.
- Testing on a Webflow staging URL that was not included in the publish step.