02 · Install
Add the snippet to a Shopify theme
The snippet counts a Shopify storefront's traffic: visits, sources, engaged time and goals.
01Where it goes
Online Store › Themes › Edit code › layout/theme.liquid, just before </head>.
<script defer data-site="k3xq2mfa7twp" src="https://t.tallybyoutpost.com/script.js"></script>02Count adding to the cart
In your theme's code, find the product form's add-to-cart button and add data-tally-goal="add_to_cart" to it. Each click counts as the goal:
<button type="submit" name="add" data-tally-goal="add_to_cart">Add to cart</button>03Check it worked
04What it can't see
Something missing, or not what you see? Write to support@tallybyoutpost.com and say which page.