Install the script
On Shopify, paste the twelvebit tag into theme.liquid, with ?shopify=1 in its address. That turns on Shopify mode: the script puts the visitor on the cart, so each order joins its visit. Then connect the store, so that twelvebit receives the orders: the checkout pages of Shopify do not load theme code, so a tag alone counts visits, not orders. The connection also adds a ScriptTag while Shopify still accepts new ones, but Shopify stops running script tags on 1 March 2027. If both copies run, the script runs once on each page, so visits do not count twice. See install.
Privacy for EU stores
The script stores a random visitor ID (_tb_vid, 1 year) and a random visit ID (_tb_sid, 30 minutes) in first-party cookies. It does not read form fields and does not record sessions or screens. IP addresses are not stored. The app runs in Frankfurt, Germany, and the database runs in Vienna, Austria. See security and data, and the guide Shopify analytics without a cookie banner.
Cookieless mode sets no cookies. Then the script puts no IDs on the cart, and an order joins a visit only when its email matches a visitor who identified. On Shopify, add data-cookieless="true" to the theme tag. The ScriptTag copy from the connection does not read that setting.
Price
Plans start at $9 a month for 10k events. Page views and goals count, including add_to_cart, initiate_checkout and each paid order. Pings (time on page), bot and AI crawler hits, identify calls and outbound links are free. See pricing.
What it does not do
- No session replay and no click or scroll heatmaps. The heatmap shows visits by weekday and hour.
- No multi-touch model. One order goes to one visit, not split across many visits.
- No cohort or retention reports, and no A/B tests.
- No export of raw events and no sync to a data warehouse. The API and the MCP server return totals, people and journeys.