Founder pricing — only 4 of 50 seats left at $49/yrthen $149Claim yours

Integration Guide

How to Connect Shopify

Track Shopify e-commerce pageviews, campaigns, and sources without cookies or banners.

Shopify store owners need to know where their customers are coming from, but traditional trackers add cookies that degrade page load speed and force intrusive cookie banners on shopping carts.

TrackWhy provides a lightweight, cookieless option for Shopify. Track product pages, collections, checkouts, and customer referral sources without hurting your Shopify Speed Index or violating privacy regulations.

Additionally, connect Stripe (if utilizing Stripe checkout features) to attribute revenue directly to marketing campaigns.

Start free trialNo credit card required.

Step-by-step

Setup guide in 5 simple steps.

  1. 1Log into your TrackWhy account and configure your Shopify store domain.
  2. 2Copy the tracking code from settings.
  3. 3In your Shopify Admin, go to Online Store -> Themes. Click Edit Code on your active theme.
  4. 4Open the theme.liquid file, and paste the tracking snippet inside the <head> section.
  5. 5Save changes. For checkout pages (if on Shopify Plus), add the script to theme.liquid or configure custom web pixels.

Capabilities

What this integration unlocks.

Speed optimization

A heavy analytics payload can directly cause cart abandonment. TrackWhy keeps page load instant.

Accurate campaign attribution

See exactly which influencer, email campaign, or search query drove visitors to your Shopify collections.

GDPR/ePrivacy compliant

Sell internationally to the EU and UK without requiring complex consent banners on checkout paths.

FAQ

Shopify + TrackWhy — FAQ.

Do I need a Shopify app to use TrackWhy?
No. You can easily insert the script tag directly into your theme.liquid file without purchasing or installing extra Shopify apps.