You can add your own Snap, TikTok and Meta pixels and a Google Analytics (GA4) id to your store, so those tools can count your visitors. The fields are in Settings, then General, in the "Search and sharing" card, under "Ads".
Add an id
- Open Settings, then General.
- Scroll to the "Search and sharing" card and its "Ads" section.
- Paste the id into "Snap pixel", "TikTok pixel", "Meta pixel" or "Google Analytics (GA4)". Paste the id only, not the whole script.
- Press "Save". You see "Search and sharing saved."
Which id goes where
Copy each id from that tool's ad account. It looks roughly like the example in the field:
- Snap pixel: 12345678-1234-1234-1234-123456789012
- TikTok pixel: C1A2B3C4D5E6F7G8H9I0
- Meta pixel: 123456789012345
- Google Analytics (GA4): G-XXXXXXXXXX
An id can only hold Latin letters, numbers, hyphens and underscores, up to 64 characters. Anything else shows "That doesn't look like a valid id." and you can't save until you fix it or clear the field.
What your store sends
When someone opens your published store, we load each tool you added and it records the visit as a page view. We don't send add to cart, checkout or purchase events to these tools, so they see visits, not sales. To see how many orders each channel brings, use the ad links on Growth.
Pixels don't run in the Studio's preview, only on your published store. To check one is working, open your published store and use the checking tool in your ad account.
When it takes effect
You don't need to publish your store. We add the ids to your store's pages as we serve them, so a change shows on the next page load after you save. To stop a tool, clear its field and save.