Pinterest tag - issue with cookie banner

Topic summary

A custom cookie banner installed by a developer is blocking Pinterest tag functionality needed for ad campaigns. Pinterest identified the banner as the root cause, but it’s not a standard Shopify banner or app-based solution.

Initial troubleshooting:

  • Searched theme.liquid, header.liquid, and footer.liquid files without finding relevant code
  • Located and deleted a specific privacy-banner.liquid file, which successfully removed the banner

Current concern:

  • Worried about potential conflicts with Shopify’s native banner due to remaining code in JSON files

Recommended next steps:

  • Check config/settings_data.json and config/settings_schema.json for privacy-banner references
  • Review layout files and assets folder for JavaScript that might still reference the deleted banner
  • Enable Shopify’s native cookie banner in Online Store > Preferences
  • If native banner doesn’t appear, may need to manually add Shopify’s default cookie banner code to theme.liquid

Status: Issue partially resolved (banner removed), but implementation of native banner remains unconfirmed.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi all,

I have an issue with the cookie banner that was installed by one developer at a time as this one does not seem to allow the Pinterest tag, needed for ad campaigns, to work properly.

The social platform has identified the issue as being caused by the cookie banner, which I do not know how to take it down as it is not using the generic Shopify cookie banner nor an application.

Any assistance with this would be very much appreciated as I have spent a lot of time investigating yet without finding my way out - any guidance very welcome.

Many thanks

Vanina

www.joyamada.com

This cookie banner appears to have been customized, and it does not look like it was set up from the Shopify default options.

Go to Online Store > Themes > Actions > Edit Code and search for theme.liquid, header.liquid or footer.liquid for any scripts mentioning cookies, privacy or third party scripts.

Inspecting Javascript: right click on your opened site, click on the “inspect” option, go to Console or Network > Scripts, and figure out which script is causing Pinterest to be blocked on your site.

When you find it, simply comment it with or remove it altogether.

Hi,

Thank you for the heads up.

I couldn’t find any relevant item in theme.liquid, header.liquid or footer.liquid, however, I found a specific privacy-banner.liquid file.

I have tested deleting the file so the banner no longer shows up, which seems to work.

However, I wonder how much this will damage the implementation of the Shopify native banner due to remaining code items in json files ?

Any recommandation is very welcome, thank you !

Hi,

Thank you for the heads up.

I couldn’t find any relevant item in theme.liquid, header.liquid or footer.liquid, however, I found a specific privacy-banner.liquid file.

I have tested deleting the file so the banner no longer shows up, which seems to work.

However, I wonder how much this will damage the implementation of the Shopify native banner due to remaining code items in json files ?

Any recommandation is very welcome, thank you !

Since you’ve deleted privacy-banner.liquid and the banner is no longer showing, the next step is ensuring that no residual code interferes with Shopify’s native banner. Here’s what to check:

  1. Theme JSON Files: Look in config/settings_data.json and config/settings_schema.json for any references to privacy-banner.liquid. If you find any, remove them carefully.

  2. Layout Files: Even though you didn’t find anything in theme.liquid, double-check for any references to privacy-banner.liquid in layout/theme.liquid or other sections where scripts might load dynamically.

  3. JavaScript Files: Some banners are injected via JavaScript. Check your assets folder for any custom JS files that might still contain references to the deleted banner.

  4. Shopify Native Cookie Banner: If you plan to use Shopify’s built-in banner, go to Online Store > Preferences and ensure that the native cookie banner is enabled. If it doesn’t appear, try switching to a fresh version of your theme to confirm if residual code is interfering.

If the native banner doesn’t work after these steps, you might need to manually add Shopify’s default cookie banner code into theme.liquid from Shopify’s documentation.