How To Enable Interaction Tracking
Install the Wheremore pixel to see how visitors use selected pages on your website. The pixel supplies activity for User Behaviour, heatmaps, recordings and conversion paths. You need access to the website’s site-wide HTML or header settings and to Setup → Tracking → Behaviour tracking in Wheremore.
Prepare a page for testing
- Open Setup → Tracking → Behaviour tracking in the workspace that contains the website. Check the domain on the website card, including any subdomain you plan to test.
- Select Add pages, or Tracked pages if the site is already set up. Add one public page by address, or choose Add from a sitemap. Keep the live address handy.
- Open Settings. Under Privacy, check the tracking mode. Cookie requires a recognised analytics-consent signal and can recognise a returning browser. Cookieless groups activity within a visit without setting a Wheremore tracking cookie. Changing mode can turn off active conversion paths. Review the confirmation before saving a change.
- Under Leave out, check whether the test page or signed-in visitors are excluded. If you change a setting, select Save changes. On the website card, turn on Recording if it shows Paused.
You can install the script site-wide and choose which pages to record in Wheremore. Recording eligible visits uses account credits. For consent cookies, sign-in rules, page selection and saved copies, see Set up User Behaviour tracking.
Install the pixel directly in the site-wide head
Add this script once, directly in the website’s shared <head> , immediately before </head> . If your platform provides a site-wide head-code field, paste the script into that field. Publish the change to the live website.
<script src="https://tracking.wheremore.com/pixel.js" defer></script>
Keep pixel.js as the installation URL. It loads the versioned file automatically. The defer attribute lets the browser continue reading the page while the script downloads.
If you already use Google Tag Manager or an older pixel
Install the script directly so it can load independently of Google Tag Manager (GTM). If a visitor’s browser or content blocker stops GTM from loading, any Wheremore tag inside that container cannot run. The website’s consent choices and Wheremore’s recording rules still apply to a direct installation.
If the existing tag points to https://app.wheremore.com/wp-content/uploads/wheremore/pixel.js , it uses the older loader. Replace that installation with the script above. If GTM supplies the existing tag, disable the Wheremore tag and publish the container change when the direct installation goes live. Leave unrelated tags in place. Check the published website outside GTM Preview to confirm that only one installation is active.
Where to put the script on your platform
- General HTML. Open the shared layout that supplies the head on every public page. Insert the script before
</head>and deploy the layout. - WordPress. Paste the script into a trusted code plugin’s site-wide header field. Alternatively, a developer can output the same tag through
wp_headin a custom plugin. Publish, clear any affected page cache and test while signed out. - Shopify. In Online Store → Themes, open Edit code for the live theme. Add the script before
</head>inlayout/theme.liquidand save. Use the storefront theme so the pixel can access the page visitors see. Recheck it after replacing the theme. - Wix. In Settings → Custom Code, add the script, apply it to All pages, choose Head, and set it to load on each page the visitor opens. Publish and test a live page.
- Squarespace. Paste the script into the site-wide Header field under Code Injection and save. If the field is unavailable, check whether your plan supports site-wide code injection.
- Webflow. Open Site settings → Custom code, paste the script into Head code, save and publish the website. Test on the published domain.
Verify the installation on the live website
Use the public page you selected in Wheremore. Test signed out if the website excludes staff visits. In Cookie mode, make the usual analytics-consent choice for a recorded visit.
- Check where the script comes from. View the live page source and search for
tracking.wheremore.com/pixel.js. Check that the tag appears once in the head. In Chrome, open DevTools → Network, select All, reload the page and filter forwheremore. Select the request forpixel.js. In Initiator, check that the page loaded it directly. If you seegtm.jsas the initiator, GTM is still loading that copy. - Check which version ran. Look for
pixel.jsfollowed by a versioned script fromtracking.wheremore.com, such aspixel.1.2.0.js. Both should load successfully. These two files are expected from one installation. The versioned filename tells you which pixel ran. - Check the settings. Select the page’s
GET /config/v2request totracking.wheremore.com. Look for200 OKandtrackingEnabled: truein the response. This shows the pixel fetched enabled settings for the website. Opening the configuration URL on its own in the address bar can give a different result because the request does not come from the tracked page. - Check that activity reached Wheremore. Scroll or click on the tracked page. In Network, open a
POST /collectrequest and check Response. Look forstatus: "success"and at least one event ID inacknowledgedEventIds. Wheremore accepted those events for processing. IDs inrejectedEventIdswere rejected. A successful script download or settings request alone does not confirm collection. - Check the report. After processing, open User Behaviour, select the same website and page, and choose a date range that includes the visit. A saved page copy or screenshot can exist before any visits have been recorded.
If the test does not work
- The old version still appears. Check the hostname and the published page source. If the Network panel shows
pixel.1.1.24.js,/configand requests to/wp-json/serp360/v1/track, that visit used the older pixel. Check Initiator for the old loader and look for a second installation in GTM, a plugin or the theme. If the published HTML still contains a tag you have replaced, refresh the affected CMS, hosting and CDN page caches, then reload. - The script does not load. Check that the change went live on the correct theme and domain. Look in Network and Console for a blocked request. If the site has a Content Security Policy, ask the website manager to check that
script-srcpermits the script fromhttps://tracking.wheremore.comandconnect-srcpermits its settings and collection requests. If a performance tool rewrites the script URL or delays loading it, excludetracking.wheremore.com/pixel.jsfrom that rule, refresh the affected page cache and retest. - The page’s
/config/v2request returns403. In Behaviour tracking, check the exact website, confirm it has a tracked page and check that Recording is on. Retest from that live page. If the response persists, give support the page URL and the error shown in the response. A403alone does not identify which setting caused it. - Settings load but there is no
/collectrequest. Confirm the page is under Tracked pages and check Settings → Leave out for excluded paths or signed-in visitors. Under Privacy, check the mode. In Cookie mode, confirm that the visitor granted analytics consent and that Wheremore recognises the signal. If the website uses a custom consent cookie, review Advanced settings → Consent cookies. Interact again and check thePOSTrequest. - Some visits or pages are missing. Test the exact path and the same consent and sign-in state as the affected visitor. For a site that changes pages without a full reload, navigate between two tracked pages and check that activity is sent for the destination as well. Recheck the installation and tracked paths after a redesign, a domain move or a theme change.
- The events were accepted but the report is empty. Check the website, page and date range in User Behaviour and allow time for processing. If the visit still does not appear, give support the tested URL, time and time zone, pixel version and an acknowledged event ID.