Language: English

🔗 Integrate Hoppy Cookie with Pinterest Consent Mode

Pinterest Consent Mode allows Pinterest tracking to respect the cookie preferences selected by your visitors.

When connected, Pinterest tags only load after visitors grant Marketing consent through your Cookie Banner. This helps merchants maintain a more privacy-friendly storefront while continuing to support Pinterest advertising, conversion tracking, audience building, and campaign measurement when consent is provided.


⚠️ Before You Begin

Before enabling Pinterest Consent Mode, make sure:

  • Hoppy GDPR EU Cookie Banner is installed and active
  • Your Cookie Banner is published
  • You have your Pinterest Tag ID available

You can find your Pinterest Tag ID inside:

Pinterest Ads Manager

⚠️ Important:

If Pinterest tracking is already installed directly in your Shopify theme, remove the existing implementation before enabling this integration.

Running multiple Pinterest tags can cause:

  • Duplicate tracking
  • Duplicate PageView events
  • Inaccurate reporting

If Pinterest is loaded through Google Tag Manager (GTM), use Google Consent Mode V2 instead.


🛠️ Step 1 — Open the Integrations Section

Inside your Shopify Admin:

→ Open Hoppy GDPR EU Cookie Banner

→ Click Integrations

Locate:

Pinterest Consent Mode

and open the integration page.

If the integration has not been configured yet, the status will display:

→ Off


⚙️ Step 2 — Enable the Integration

Inside the Pinterest Consent Mode page:

→ Toggle Integrate with Pinterest Consent Mode to On

Once enabled:

  • The status changes to On
  • Pinterest tracking becomes available
  • Additional Pinterest settings become visible

After enabling the integration, the Pinterest Tag ID field will appear.


🔑 Step 3 — Enter Your Pinterest Tag ID

Locate:

Pinterest Tag ID

Paste your Pinterest Tag ID into the field provided.

Example

1234567890123

⚠️ Only enter the numeric Tag ID.

Do not include:

  • URLs
  • Script tags
  • Tracking code snippets

Double-check for extra spaces before saving.


💾 Step 4 — Save Your Changes

After entering your Tag ID:

→ Click Save

The configuration is automatically synchronized to your storefront.

No additional theme edits or manual script installation are required.


🔄 How the Integration Works

Once enabled, Pinterest tracking responds automatically to visitor consent preferences.


When Marketing Consent Is Accepted

If the visitor accepts Marketing cookies:

✅ Pinterest tracking loads

✅ Pinterest PageView events can fire

✅ Conversion tracking becomes available

✅ Audience building and advertising measurement can operate normally

This allows Pinterest campaigns to collect approved visitor interactions.


When Marketing Consent Is Denied

If the visitor declines Marketing cookies:

❌ Pinterest tracking does not load

❌ Pinterest events are blocked

❌ Audience and advertising tracking remain disabled

This helps ensure tracking aligns with visitor consent choices.


When Consent Preferences Change

If a visitor later updates their preferences:

  • Pinterest tracking can be enabled
  • Pinterest tracking can be disabled

depending on the updated Marketing consent selection.

The integration automatically adjusts tracking behavior accordingly.


🧪 Step 5 — Verify the Integration

After saving, it's recommended to verify that the integration is working correctly.


Test with Marketing Consent Denied

→ Open your storefront in an Incognito or Private browser window

→ Decline Marketing cookies

Then:

→ Open Developer Tools

→ Open the Network tab

→ Search for:

pinimg

or

core.js

Expected Result

No Pinterest tracking requests should appear.

This confirms that tracking is being blocked correctly.


Test with Marketing Consent Accepted

Repeat the test using a fresh Incognito window.

This time:

→ Accept Marketing cookies

→ Refresh the page if necessary

Then:

→ Open the Network tab

→ Search for:

pinimg

or

core.js

Expected Result

Pinterest tracking scripts should load successfully.

You should also see a PageView event being triggered automatically.


Verify Using Browser Console

Open Developer Tools and switch to the Console.

Enter:

pintrk

Expected Result

If consent has been granted, the Pinterest tracking object should be available and initialized successfully.


⚠️ Common Troubleshooting

Pinterest Tag ID Field Is Missing

The Pinterest Tag ID field only appears after the integration is enabled.

Verify:

→ Integrate with Pinterest Consent Mode is turned On

Once enabled, the field becomes visible automatically.


Pinterest Tracking Loads Before Consent

This usually means Pinterest is installed elsewhere.

Check:

  • Shopify theme code
  • Theme App Extensions
  • Other Shopify apps
  • Custom tracking scripts

Remove duplicate Pinterest installations and allow Hoppy Cookie to manage tracking directly.


Pinterest Tracking Does Not Load After Consent

Verify:

  • The Pinterest Tag ID is correct
  • The integration is enabled
  • Changes have been saved
  • Marketing consent has been accepted

A mistyped Tag ID can prevent Pinterest tracking from loading correctly.


Duplicate PageView Events

Duplicate PageView events generally indicate that Pinterest is being loaded from multiple sources.

Remove duplicate installations and keep only one active Pinterest implementation.


Pinterest Ads Manager Shows No Activity

Verify:

  • The correct Tag ID is being used
  • Marketing consent was granted
  • Tracking requests are visible in Developer Tools
  • Pinterest scripts load successfully

Testing in an Incognito window is recommended.


⚠️ Important Notes

Marketing Consent Controls Pinterest Tracking

Pinterest tracking responds specifically to the Marketing cookie category.

If Marketing consent is denied, Pinterest tracking remains disabled.


No Theme Coding Required

The integration automatically manages Pinterest loading and consent behavior.

No manual code edits are required after setup.


Avoid Duplicate Installations

Never load Pinterest simultaneously through:

  • Hoppy Cookie
  • Theme code
  • Another app
  • Custom tracking scripts

unless specifically configured to avoid duplicate tracking.


Google Tag Manager Uses a Different Setup

If Pinterest is loaded through Google Tag Manager:

→ Use Google Consent Mode V2

The Pinterest Consent Mode integration is intended for direct Pinterest tag installations.


🎉 Final Result

Once configured successfully:

✅ Pinterest tracking only loads when Marketing consent is granted

✅ Visitors who decline Marketing cookies are not tracked

✅ Consent changes automatically update tracking behavior

✅ Pinterest advertising measurement remains available after consent

✅ No manual theme coding is required

✅ Tracking behavior stays aligned with your Cookie Banner preferences

The Pinterest Consent Mode integration helps merchants balance advertising performance and visitor privacy by ensuring Pinterest tracking only becomes active after appropriate consent has been provided.