Getting started

  1. Create an account and open the dashboard.
  2. Type a name under New project and create it. You get a project API key (ea_...).
  3. Paste the snippet shown on the project page into the <head> of your site. It looks like this:
<script defer src="https://api.analytics.house/tracker.js" data-key="YOUR_PROJECT_KEY"></script>

Page views are tracked automatically and no cookies are set. Whether you still need a consent banner or an opt-out depends on where your visitors are: see Consent and cookie banners.

Optional attributes

The script sets no cookies and stores nothing in the browser. Our servers group a visitor's page views into one visit (the same daily visitor id, at most 30 minutes apart) and carry the landing page's campaign (UTM) tags to the rest of that visit.

Automatic tracking

Revenue

analyticsHouse.track('Purchase', { revenue: 49.99, currency: 'EUR' })

Amounts are stored per currency and never summed across currencies. They show up as Revenue on the dashboard.

Custom events and goals

No code needed: add an attribute to any element and clicks on it are tracked.

<button data-ea-event="Signup" data-ea-prop-plan="pro">Start free trial</button>

Or from JavaScript:

analyticsHouse.track('Signup', { plan: 'pro' })

Every custom event appears under Goals & custom events with its conversion rate. Use them as funnel steps too.

Dashboard tips