Skip to main content
DrapierDrapier

Shopify Troubleshooting

Diagnose and fix common issues with Drapier Shopify app and attribution tracking.

For installation instructions, see Install Tracking.

Verifying the script is installed

  1. Navigate to any page on your store.
  2. Open DevTools (F12) → Console.
  3. Type document.cookie and look for _icg_click.
  4. Alternatively, check the Network tab for requests to cart/update.js containing _icg_click_id.

If the script is not present, go to Shopify Admin → Online Store → Themes → Customize and verify Drapier app block is enabled in your theme.

Verifying click attribution

  1. Append ?icg_click=test_123 to any product URL on your store.
  2. Open DevTools → ApplicationCookies and confirm _icg_click is set to test_123.
  3. Add the product to your cart.
  4. Open DevTools → Network → filter for cart/update.js and check the request body for _icg_click_id.

Common issues

IssueCauseFix
Click ID not persistedCookie consent banner blocking scriptEnsure Drapier script is classified as "essential" or "analytics" in your cookie consent configuration
Cart attributes missingTheme using custom cart (not Shopify AJAX API)Contact support — we may need a custom integration for non-standard cart implementations
Script not loadingTheme app extension disabledGo to Themes → Customize and enable Drapier app embed block
Attribution not matchingMultiple affiliate networks overwriting cookiesDrapier uses unique parameter and cookie names (icg_click / _icg_click) to avoid collisions

Requirements

  • Shopify-hosted store — the app uses Shopify's theme app extensions and order webhooks, which are only available on Shopify-hosted storefronts.
  • Customer Privacy API — if you use Shopify's Customer Privacy banner, the attribution script respects the visitor's cookie consent preferences. Ensure your banner configuration allows the script to run for analytics purposes.

On this page