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 link in CSS. Let me know if I’m missing something obvious.