Track your own website with the pixel

2 min readChecked against the dashboard on 24 August 2026
Open this in your dashboard

Onsite Tracking gives you a small script for your own site, so you can see what visitors do and trigger automations from it. The page walks through four steps.

1. Install the pixel

Add the snippet to your site. On Shopify it goes in your theme, and the page tells you exactly where. It also shows Your public key — public by design, so it is safe in page source.

2. Identify your visitor

The pixel alone sees anonymous visits. Identifying ties a visit to a known contact, which is what turns "someone looked at this" into "this customer looked at this".

Without this step everything else still records, but you cannot email anyone about it — which is usually the point.

3. Track product views

Fire an event when someone views a product. This is what powers browse-based follow-ups.

4. Track add-to-cart

Fire an event when a shopper adds to cart — the signal behind abandonment flows.

Then enable Browse Abandonment

Once installed, enable the browse-abandonment behaviour. It is deliberately a second step: a flow that emails people about products they looked at is only sensible when the tracking underneath it is confirmed working.

Check it before building on it

Visit your own site, do the things you are tracking, and look at the Events page. Events appearing there is the proof — see Events from your store and site.

Building an automation on tracking you have not verified produces a flow that silently never fires, and that looks exactly like a broken automation.

If you use Shopify

Connect the store as well. The connection brings customers and orders; the pixel adds on-site behaviour. They answer different questions and most setups want both. See Connect your Shopify store.

Next: open Onsite Tracking and start with step 1 — the rest depends on it.

Related articles

Ask Agent PK in your dashboard

Agent PK answers from these same articles, looks at your own account, and can do the task for you once you confirm. Open it from the top bar in the dashboard.

Open dashboard

Still need help?

Our team answers every message, usually within one working day.

Email supportsupport@brainito.comBook a call15 minutes with our team