Install guides
Install misomoon on Shopify
Add the misomoon script tag to your Shopify site. It takes about two minutes.
Copy your script tag from Settings > Install in the dashboard. It looks like this:
<script defer src="https://analytics.example.com/m.js?s=your-site"></script>Add the script
- Open Online Store > Themes.
- On your current theme, select ... > Edit code.
- Open
layout/theme.liquidand paste the tag before</head>. - Select Save.
Shopify's checkout doesn't load your theme's code, so the tracker doesn't count checkout pages. To count orders, post them to the custom webhook from your own code (Send payments from your own server).
Check it works
Open your site in a browser. You appear in Live within a few seconds. If you
don't, the browser console says why, for example misomoon skipped: bot, and
Troubleshooting lists the other causes.
Next steps
- Send custom events such as a signup: Track your site.
- Turn events into conversions: Goals, funnels, and paths.
- Count visitors with ad blockers: Serve the tracker from your own domain.