Skip to content
SiteAuro

Install the SiteAuro Pixel

Add one line of code to your website, check that it reports in, and know what the status on the Install screen means.

Table of Contents
  1. What you need
  2. Copy your snippet
  3. Paste it into your website
  4. Check that it works
  5. What the status means
  6. Next step

The SiteAuro pixel is one line of code on your website. It records the pages people visit, and it shows your published popups, forms and widgets to them. You paste it once: every funnel and widget you publish afterwards appears on your site by itself, with no further changes to your website.

Each workspace has its own pixel.

What you need

  • A workspace with your website's address. The pixel only runs on that domain. The www. version of the address is always included; other subdomains, such as shop.example.com, only when Also allow subdomains is on.
  • A way to add code to every page of your website: your theme or site builder, a header and footer plugin, or a tag manager.

Copy your snippet

  1. Open your workspace. In the menu, open Settings and choose Install pixel. Until the pixel reports in, Install pixel is also at the bottom of the menu, and the workspace opens with the same snippet in a window, Install your pixel to start tracking, with Copy snippet.
  2. On the Website Installation screen, click Copy snippet.
The Website Installation screen in a browser window, with the menu collapsed to its icons: the snippet in a dark box under Copy your snippet, with its site key hidden, the status Not detected yet on the right, and step 2 below with a logo tile for each platform. The Copy snippet button at the top right is outlined in red, and a red arrow labelled Click Copy snippet points to it.
The Website Installation screen. Click Copy snippet.

The snippet looks like this, with your workspace's own key in place of YOUR_SITE_KEY:

HTML
<script src="https://go.siteauro.net/static/siteauro.js" data-site="YOUR_SITE_KEY"></script>

It is the same on every page of your site.

Paste it into your website

Paste the snippet just before the closing </body> tag, in a template that every page of your site shares, then save and publish the change.

Under Where will you paste it?, click your platform's tile, and the screen shows the exact clicks for it. They are the same as below.

In Shopify

  1. Online Store → Themes → ··· → Edit code.
  2. Open theme.liquid and paste the snippet just above </body>.
  3. Click Save. Changes are live in about a minute.

Theme code is edited on the live theme, so the change applies immediately.

In WordPress

  1. Install a header and footer snippet plugin, if you do not have one.
  2. Open its settings and find the footer box — the one that loads before </body>.
  3. Paste the snippet and Save.

Editing theme files directly works too, but a plugin survives theme updates.

In Wix

  1. Site dashboard → Settings → the custom code section.
  2. Add a snippet, set it to All pages, and place it at the end of body.
  3. Paste, Apply, then Publish your site.

Wix only runs custom code on a published site, not in the editor preview.

In Webflow

  1. Project settings → Custom code.
  2. Find the field for code before </body>.
  3. Paste the snippet, Save, then Publish.

Custom code runs on the published site, not on the Designer canvas.

In Squarespace

  1. Settings → the code injection section.
  2. Use the Footer box, which is what loads before </body>.
  3. Paste the snippet and Save.

Code injection is on paid plans only.

In HubSpot

  1. Account Settings → the Website or Pages section.
  2. Find the field for site-wide footer HTML.
  3. Paste the snippet and Save.

This covers HubSpot-hosted pages. Pages hosted elsewhere need the snippet there too.

In Google Tag Manager

  1. New tag → type Custom HTML, and paste the snippet in.
  2. Set the trigger to All Pages.
  3. Submit, then Publish the container.

A tag only runs once the container is published — saving is not enough.

Open Tag Manager ↗

Anywhere else

  1. Find the template every page shares — a layout, a base template, or a footer include.
  2. Paste the snippet just before the closing </body> tag.
  3. Save and publish, then load any page on your site.

If your site has a tag manager, putting it there covers every page at once.

Check that it works

SiteAuro never visits your website to check. The pixel reports in when a real browser loads one of your pages, and that is the only thing that counts.

  1. Publish the change on your website.
  2. Open any page of your site in your browser.
  3. Back on the Website Installation screen, click Verify pixel.
Step 2 of the Website Installation screen, in a browser window, with the menu collapsed to its icons: under Where will you paste it?, a tile with its logo for each platform (Shopify, WordPress, Wix, Webflow, Squarespace, HubSpot, Google Tag Manager and Other), Shopify chosen and its steps open below; under Pasted and published? the status Not detected yet. The Verify pixel button is outlined in red, and a red arrow labelled Click Verify pixel points to it.
Once the snippet is published and you have loaded a page, click Verify pixel.

When the pixel has reported in, you see Pixel found on and your domain, with when it was last seen.

The check in a browser window: a window titled Pixel found on acme-coffee.test, listing acme-coffee.test as just now, with the buttons Check again and Done. The part this step is about is outlined in red, with the label "Pixel found" and a dashed arrow pointing to it.
The pixel has reported in from your site.

Click Done. The status on the screen now reads Pixel installed.

If the pixel is not found

No pixel seen yet means nothing has reported in. The usual reasons are:

  • The change was saved but not published.
  • Your site or its CDN is serving a cached page.
  • Nobody has loaded a page since you pasted the snippet.
  • An ad blocker stopped the pixel in that browser. Try another browser.

Fix what applies, load a page of your site again, and click Check again.

Found, but not on a domain you authorised means the pixel is running on a domain this workspace does not cover, so nothing is shown or tracked there. Check the website address of your workspace in Settings, Edit workspace, and turn on Also allow subdomains if the pixel runs on a subdomain.

What the status means

The status at the top right of the screen, and the line under Pasted and published?, look at the last 24 hours:

Status What it means
Not detected yet The pixel has not reported in from your domain.
Pixel installed The pixel reported in from your domain in the last 24 hours.
Installed, but quiet The pixel has reported in before, but not in the last 24 hours. That can simply mean nobody visited your site. Open your site and check.

Each domain the pixel has reported from is listed with when it was last seen. A domain your workspace does not cover is marked Blocked.

Tip

Popups, forms and widgets work from this one snippet. Funnels shown as Inline Code or Full-page are the exception: each has its own snippet, on that funnel's Embed tab.

Note

The box Tracking from a shared domain on this screen means the pixel's cookies are set by go.siteauro.net, not by your own site. Browsers treat those as third-party cookies, and Safari keeps them for only seven days, so a returning visitor can look new. Connecting your own domain fixes this; do it before you collect much, because visitor history cannot move between domains. Once your own domain is connected, this screen shows a snippet that loads from it.

Next step

Your site is now sending visits to SiteAuro. Go back to Getting Started with SiteAuro to find your way around your workspace.

Last updated