Skip to content

Script extensions

Optional data-* attributes on the PureMetrix snippet that also track clicks on outbound links, file downloads, form submissions, scroll depth and page changes via # in the URL (hash routing).

  • data-outbound / data-downloads / data-forms / data-scroll / data-hash

Turn them on under Site settings → General → Tracking, or add the attributes to the snippet yourself. The WordPress plugin shows the same options in its settings.

Verify

  • Open https://app.puremetrix.org and confirm the control labels match this guide.
  • After any snippet change, open your site in a private window to send a test pageview.
  • If numbers look wrong, check the domain and public key, the Free plan limit, and whether bots or logged-in roles are excluded.

Related