Website Tracking

To implement basic website tracking, a simple script should be placed on each page of your website that you want to track. You can find this script in the portal by clicking the Installation button in the menu bar. This will take you to the installation page, where you’ll see a Copy tag code button. Clicking this button copies the tracking script to your clipboard.
Important:
Place this script within the <head> section of your website’s HTML.
This tracking tag covers essential metrics such as:
  • Sessions
  • Page views
  • Landing pages
  • Referrers
  • UTM parameters
  • Geolocation
  • Device information

How do I know the integration is working?

Nimvue hold a ‘Last Event Seen’ date against each website. This is pulled across into your website settings. It can be seen under Settings -> Tracking Health. This is helpful as it can take up to 2 hours for data to show in the Nimvue portal.

Single-Page Application (SPA) Support

For Single-Page Applications (SPAs), additional configuration is needed to track page views on route changes (instead of page reloads). This ensures page views and session engagement are tracked properly. To enable SPA support, add the following JavaScript before loading the Nimvue tracking script:
window.nvConfig = { enableSpaSupport: true };