Store settings
Add tracking pixels
Add your Google Analytics, Meta, TikTok, Pinterest, X and Google Ads IDs so their tags run on your storefront and record sales.
Reviewed
On this page
Paste the ID that each ad or analytics service gives you, and Crate adds its tag to every page of your storefront. The tags then report views, carts, checkouts and purchases back to that service. Tracking pixels are on every plan.
Check which IDs you can add
| Service | Field | What it looks like |
|---|---|---|
| Google Analytics | Google Analytics measurement ID | Starts with G-. Found in Google Analytics under Admin, Data streams. |
| Meta Pixel | Meta Pixel ID | Digits only. Found in Meta Events Manager under Data sources. |
| TikTok Pixel | TikTok Pixel ID | Letters and numbers. Found in TikTok Ads Manager under Assets, Events. |
| X pixel | X pixel ID | Letters and numbers. Found in X Ads under Tools, Events manager. |
| Pinterest tag | Pinterest tag ID | Digits only. Found in Pinterest Ads under Conversions. |
| Google Ads | Google Ads conversion ID and Google Ads conversion label | The ID starts with AW-. The label is the part after the slash in your purchase conversion's send-to value. |
Every field is optional. Fill in only the services you use.
Step 1: Open Tracking
- In the sidebar, go to Settings.
- Under Store, choose Tracking.
The Tracking pixels page shows what is live on your storefront and how shoppers are asked for consent.
alt: The Tracking pixels page with the Analytics and ad pixels card, the Edit tracking IDs button and the Shopper consent card
caption: Settings > Tracking. Live on your storefront lists the tags that are on.Step 2: Add your IDs
- Choose Edit tracking IDs.
- Under Pixels, paste each ID in its field. Each field has a Where to find it link to the service's own help.
- For Google Ads, paste the whole send-to value (for example
AW-123456789/AbC-dEfGh) into Google Ads conversion ID. Crate fills in the label for you.
alt: The Analytics and ad pixels dialog with fields for Google Analytics, Meta Pixel, TikTok Pixel, X pixel, Pinterest tag and Google Ads, and the Save pixels button
caption: Leave a field empty to switch that tag off.Step 3: Verify your domain (optional)
Some services ask you to prove you own your store's domain before they show full data. Under Domain verification, paste the code or the whole meta tag from:
- Google site verification
- Meta domain verification
- Pinterest domain verification
Step 4: Track visits across your other sites (optional)
If you also run another website, add it under Cross-domain measurement, for example example.com. Google Analytics then counts a visitor who moves between the two sites as one visit. Separate domains with commas.
Step 5: Turn on your pixels
Choose Save pixels. Crate shows Tracking pixels saved. The tags start on your storefront straight away.
What each tag records
Crate sends these shopping events to Google Analytics, Meta and TikTok. Pinterest gets the same events except checkout starts, and Google Ads gets purchases only.
| Shopper action | Event sent |
|---|---|
| Views a product | View item (Meta and TikTok: ViewContent) |
| Adds to cart | Add to cart (Meta and TikTok: AddToCart) |
| Starts checkout | Begin checkout (Meta and TikTok: InitiateCheckout) |
| Pays | Purchase (Meta: Purchase, TikTok: CompletePayment, Google Ads: conversion) |
Each purchase is sent once, even if the shopper reloads the thank-you page.
How shoppers are asked for consent
Crate asks shoppers for consent before the tags load, in the way the market you sell in requires. The Shopper consent card on the Tracking page shows which way your store uses:
- Notice with opt-out: shoppers see a short cookie notice with a button to turn the tags off. The tags load unless they decline.
- Asks first: Crate asks each shopper first, and loads nothing until they accept.
Shoppers whose browser sends Global Privacy Control are never tracked. Any shopper can change their answer from the Cookie choices link at the foot of your store. Until you add a pixel, your store shows no cookie notice.
If something goes wrong
| Message | What to do |
|---|---|
| "Some IDs are not in the format that service issues. Check the highlighted fields." | Read the message under each highlighted field and fix it. |
| "A measurement ID starts with G- followed by letters and numbers." | You may have pasted a different Google ID. Copy the measurement ID from your data stream. |
| "A Meta Pixel ID is made of digits only." | Remove spaces, letters or the word "pixel". |
| "A conversion ID is AW- followed by digits." | Check that the Google Ads ID starts with AW-. |
| "Add the conversion label to track purchases" | You saved a Google Ads ID without a label. Add the label, or Google Ads records no purchases. |
| "Enter up to 20 domains, like example.com." | Use plain domain names, separated by commas, and no more than 20. |
| A service shows no data | Shoppers who decline cookies or use Global Privacy Control aren't tracked. Ad blockers can also stop tags. |
Related
Troubleshooting
Next steps
Was this helpful?
Still need a hand?
Tell us the task you were trying to complete and the message you saw. Include your store name or order reference when relevant. Keep passwords, API secrets and card details private.
Contact Crate