How do I add analytics to my website?

Sign up for an analytics tool, then add its small script to every page. In an AI builder like Lovable, Bolt or v0 you paste one sentence and it adds the script for you. In WordPress, Shopify, Wix or Squarespace you use a plugin, app or the “custom code” setting. Your own visit should show up within seconds.

Create a free accountFree for up to three sites. No card needed.

Updated 1 December 2026

By site builder

You built the site withThe easiest way
Lovable, Bolt, v0, Replit, Base44Paste one sentence into the chat. See Lovable, Bolt, v0
WordPressA plugin. See WordPress
ShopifyAn app or the theme code. See Shopify
Wix, Squarespace, Webflow, FramerCustom code in the site settings. See Wix, Squarespace, Webflow, Framer
Google Tag ManagerA tag from the template gallery. See Google Tag Manager
Your own codeOne script tag in the page head. See HTML

All install guides have screenshots and the exact steps.

Check that it works

  1. Open your site in a private window.
  2. Open the analytics dashboard. A visit should appear within a few seconds.
  3. Nothing? Check with the tracker check that the script loads.

Then set a goal

Visits alone don’t tell you much. Add one goal, such as “sent the contact form” or “bought”, so you see which sources bring customers.

Do I need a developer to add analytics?

No. Plugins, apps and AI builders do it without code. On a hand-coded site it is one line in the page head.

Will analytics slow my site down?

A light script won’t. Okidoki’s is about 1.5 KB; Google’s tag is many times larger. See the script size comparison.

Free tools for this

More guides

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →