Sales channels
> Online Store
> Themes
.Edit code
.
Layout
section, select the theme.liquid
file.</head>
tag.
Save
.Customer events
.Add custom pixel
.Save
in the top right.Connect
.analytics.subscribe
function. There are other customer events available that we haven’t covered above that you may want to track, or you may want to customise the code examples we’ve provided above to include additional data in your Fathom events.
You can find more information about Shopify’s customer events here. Click on the event name to see more information about the event, how to subscribe to it, and what data is available.
We also have a detailed guide on how our events work here.