Actually Tracking

Install Actually Tracking

Get started with Actually Tracking in less than 2 minutes.

The quickest way to get started with Actually Tracking is to use our Web SDK. It works with any website.

Quick Start

Simply add this script tag to your website's <head> section.

index.html
<script>
  window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
  window.op('init', {
    clientId: 'YOUR_CLIENT_ID',
    trackScreenViews: true,
    trackOutgoingLinks: true,
    trackAttributes: true,
  });
</script>
<script src="https://actuallytracking.com/op1.js" defer async></script>

That's it! Actually Tracking will now automatically track:

  • Page views
  • Visit duration
  • Referrers
  • Device and browser information
  • Location

Using a website builder?

There are step-by-step guides for WordPress (with a plugin), Google Tag Manager (with a template), Webflow, Framer, Wix, Squarespace, Shopify, Ghost, Bubble, Lovable, Bolt, v0 and Replit, Laravel and Django.

Using a Framework?

If you are using a specific framework or platform, we have dedicated SDKs that provide a better developer experience.

Explore all SDKs

We support many more platforms. Check out our SDKs Overview for the full list.

On this page