Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Since some time last week, Shopify's cookie banner "Privacy policy" link is broken -- instead of linking to the URL specified in "Customer privacy" -> "Cookie banner" -> "Customize" -> "Privacy policy URL", it links to "null" (and that just goes to 404 page obviously).
Previewing the banner from settings (clicking on "View" button) does not exhibit the issue (links correctly to the specified URL), only live banner is affected.
It seems that not only our stores are affected, I saw some other stores with the same issue, but don't know if all stores are affected.
Raised an issue with Shopify but it's been days and they are still investigating.
I can only think of clunky workarounds -- setup some custom javascript to wait N amount till hopefully cookie banner appears and then rewrite its href (or use MutationObserver?), or just plain hide the <a> link in CSS. Let me know if I'm missing something obvious.
I can confirm it. We also have implemented the core cookie banner. Was running just fine. Since two days we get warnings that broken links are on the Site: Several subpages urls but with a trailing '/null'. It took me some minutes to understand, that the cookie-banner was the issue.
The Link text is also not translated correctly. It shows the default 'english' translation and a broken link with /null.
It seems, that the value is already not correct when the cooke-configuration object is put together:
Issue has now been fixed I believe.
Yes, looks good here too. Link is now working on multiple stores.
Can also confirm, it is fixed now. Time to remove my hotfix 😅
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025