What Gets Tracked
- Landing page visits
- Product views in creator context
- Add to cart events
- Checkout starts
- Completed orders
- Revenue attribution to creators
Step 1: Enable the CreatorCommerce SDK
The SDK is a theme app embed that detects affiliate context and writes cart attributes to personalize the shopping experience.Open Theme App Embeds
In Shopify Admin → Online Store → Themes → Customize → App embeds (in the left sidebar).
Enable CreatorCommerce SDK
Find “CreatorCommerce” in the app embeds list and toggle it on. Save the theme.
Cart Attributes Set by the SDK
| Attribute | Description | Example |
|---|---|---|
cc-creator-handle | Creator’s metaobject handle for Liquid lookups | sarah-jones |
cc-creator-id | Creator’s unique ID for attribution | 68d4828e02627cba69144aa2 |
cc-campaign-id | Campaign ID (if applicable) | 67a93e156cc51f6c4e878e0c |
cc-shop-id | Shop/channel ID | 67a93e156cc51f6c4e878e0c |
Step 2: Enable the CC Web Pixel
The web pixel provides funnel-level analytics for co-branded experiences.Default: The web pixel is enabled by default. You should only disable it if you have a specific reason (custom tracking solution, testing phase, troubleshooting). The web pixel is essential for accurate attribution and performance measurement.
- Landing page visits
- Product views in creator context
- Add to cart events
- Checkout starts
- Completed orders
- Revenue attribution to creators
Verification Checklist
After enabling both the SDK and web pixel:- Visit a creator link — Navigate to a creator’s landing page URL
- Check cart attributes — Run the console snippet above to verify attributes are set
- Browse products — Navigate to a product page and verify creator context is present
- Add to cart — Add a product and confirm the cart still has CC attributes
- Complete a test checkout — Verify the order is tagged with creator attribution
How to Verify Cart Attributes (Full Snippet)
Paste in your browser console:Using Cart Attributes in Liquid
Once the SDK sets cart attributes, reference them in any Liquid template:Related
- Initial Settings — Configure web pixel and other tracking settings
- Enable the CC Web Pixel — Technical implementation details
- SDK Getting Started
- Referencing Creator Content
- Affiliate Link Tracking Reference
- Order & Customer Tags