Install

Install AnalyticFast on your website

Add your public website in AnalyticFast, choose its timezone and reporting currency, then copy its Site ID. Use exactly one installation method per website. The public Site ID is not a secret or a server API credential.

Plain HTML: one deferred script

For a website with a shared HTML head, paste this once before its closing head tag. Replace the placeholder with your Site ID. The examples use the hosted tracking origin; use the origin shown in your own settings if it differs.

<script defer data-website-id="YOUR_SITE_ID" src="https://t.analyticfast.com/js/script.js"></script>

Choose your platform

Verify the published website

  1. Replace YOUR_SITE_ID with the ID for this website, then open its public domain in a normal browser. A builder preview, localhost, webdriver or a visit with ?ml_ignore=true may be ignored.
  2. In browser Network tools, check https://t.analyticfast.com/js/script.js and the request to /api/event. A downloaded script or a successful HTTP response alone does not prove that an event was accepted.
  3. Use Verify installation in AnalyticFast and check the last received event. If none arrives, check the Site ID, allowed hostname, consent configuration, duplicate installations and any blocker. Domain ownership verification is a separate step.

If your site has a Content Security Policy, allow https://t.analyticfast.com in both script-src and connect-src. Do not put tokens, customer email addresses or private keys in the snippet, URLs or goal properties.

Connect revenue after visits work

A pageview confirms tracking, not a payment. Use your provider’s revenue guide to configure signed delivery and forward visitor IDs through checkout metadata. Keep production and sandbox analytics on separate sites.

Add your website to get its Site ID and installation checklist. Once visits arrive, connect your payment provider.

Questions, answered.

How many snippets should I install?

Use one method: plain script, framework component, plugin or GTM tag. Combining methods can produce duplicate tracking or conflicting Site IDs. Remove the old method before enabling a new one.

Does installing the script also record purchase revenue?

No. It records visits and goals. Connect a supported payment webhook and pass visitor/session IDs into checkout metadata to connect verified payments with traffic. A Buy click or thank-you pageview is not payment confirmation.

Does Verify installation also prove domain ownership?

No. An accepted event shows that tracking was received. Domain ownership verification is a separate check. Configure the intended production hostname and verify additional domains before using them.