← Back to the journal

Engineering · September 25, 2026

The analytics implementation checklist

A step-by-step checklist to install website analytics correctly the first time: script, origins, goals, campaigns, consent, filters, and verification.

A checklist beside an analytics dashboard

Before you install

Decide which consent mode fits your audience (standard, consent, or cookieless) and update your privacy notice. List your three to five goals. Agree on how you will tag campaigns so everyone uses the same source and medium names.

Install

Add the snippet once, in the template or root layout used by every page, just before the closing body tag. Do not add it twice; a duplicated tag double-counts pageviews.

Make sure every address your site is served from is in Site settings → Allowed origins: the domain with and without www, staging, and preview domains. Events from other origins are rejected.

Single-page apps (Next.js, React, Vue) need nothing extra: route changes through the browser history are counted as pageviews.

Verify

Open your site in a private window and watch the Tracking code page: the status changes to Connected within seconds. Then open Realtime to see your visit, and Visitors to see its timeline.

Click your main buttons and submit a test form, then check Events & goals. Give forms and important buttons readable names with data-deeplitic-form and data-deeplitic-action so reports do not show generic labels.

Clean the data

Exclude your own team: open the site and run deeplitic.optOut() in the browser console once per browser. Add internal pages such as /admin to Ignored pages, and block any spam referrers you see in Sources.

If many of your visitors use ad blockers, serve the script and events through your own domain with the proxy configuration on the Tracking code page.

After launch

Turn on uptime monitoring for the main page and confirm alerts reach the right inbox. After two weeks, review the heatmaps of your top landing pages and the conversion rate of each goal, and write down the first improvement you will test.

Keep reading
Cookieless analytics: measuring without a cookie bannerGDPR-friendly website analytics: a practical checklistAdd analytics to Shopify, WordPress, Webflow and WixCompare analytics toolsRead the practical FAQ
That’s the note.Read another