Installing the tracking code
Add your Analytix66 tracking code to any website builder or CMS, then check it's working with Realtime.
Find your tracking code
- Open Websites.
- Find your website and open its tracking code (pixel) option.
- Copy the snippet. It looks like this:
<script defer src="https://analytix66.com/pixel/YOUR_KEY.js"></script>
The code should go in the <head> of every page. It loads with defer, so it won't slow your pages down.
Plain HTML website
- Open each page's HTML file, or the shared header/layout file if your site has one.
- Paste the snippet just before the closing
</head>tag. - Save the file and upload it to your server.
WordPress
- In WordPress admin, go to Plugins → Add New and install a header/footer code plugin, such as WPCode or a similar "Insert Headers and Footers" plugin.
- Open the plugin's settings and paste the snippet into the Header box.
- Save your changes. If you use a caching plugin, clear its cache.
Shopify
- In Shopify admin, go to Online Store → Themes.
- Next to your live theme, click … → Edit code.
- Open
layout/theme.liquid. - Paste the snippet just before
</head>and click Save.
Wix
- In your Wix dashboard, go to Settings → Custom Code. This needs a Wix plan with a connected domain.
- Click Add Custom Code and paste the snippet.
- Choose All pages, set the placement to Head, then apply.
Squarespace
- Go to Settings → Advanced → Code Injection. On newer dashboards it may be under Website → Pages → Custom Code.
- Paste the snippet into the Header field and save.
Google Tag Manager
- In your GTM container, click Tags → New.
- Choose Custom HTML and paste the snippet.
- Set the trigger to All Pages (Initialization or Page View).
- Save the tag and click Submit → Publish.
Check that it works
- Visit your website in a normal browser window. Ad blockers can hide your visit, so pause yours for this test.
- In Analytix66, open the website's dashboard and click Realtime.
- You should appear within a few seconds. If you don't, see Troubleshooting: no data showing.
Tips
- Install the code only once per page. Duplicate snippets can double-count visits.
- Make sure the host you entered in Analytix66 matches your real domain.