What It Is
Website Analytics is built-in, Google Analytics–style reporting for your own websites and landing pages. Add a small snippet to your site and AffClix records page views, sessions, traffic sources, devices, countries, page speed and purchases.
Find it under Website Analytics in the main menu: Overview for the reports and Tracked Sites to manage your websites.
Adding Your Websites
- Open Website Analytics → Tracked Sites.
- Under Add a website, enter the address, for example shop.example.com, and optionally a name.
- Optionally link the website to a campaign, so its conversions can be tied to that offer.
The address with and without "www." counts as the same website. Your plan includes a number of websites for free. The page shows how many are included and how many you are using, and any extra websites are billed per site.
Installing the Snippet
- From the dashboard, open Setup & install.
- Choose the website, then click Copy snippet.
- Paste it into every page of your site, just before the closing
</head>tag. On most website builders there is a "header code" setting for this. - Visit your site, then return to the setup page. The Verify it's working step checks for events and shows the website as reporting.
Page views are recorded automatically. To record a sale, call AffclixAnalytics.trackPurchase() on your order confirmation page. The setup page shows an example.
The Dashboard
Pick a date range, and a single website or All sites. The Overview shows:
| Panel | What it tells you |
|---|---|
| Realtime | Visitors on your sites right now. |
| Users, Sessions & Pageviews | Traffic over time. |
| Channels and Source / Medium | Where visitors came from: search, social, paid, referral or direct. |
| Top Pages and Landing Pages | The most-viewed pages, and the pages where visits start. |
| User Journey | The most common paths visitors take through your site. |
| Conversion Funnel | How many sessions reach each step, and where people drop off. |
| Key events | Purchases and other events you track. |
| Countries and Devices | Where visitors are and what they browse on. |
| Core Web Vitals | How fast your pages feel to real visitors, rated good, needs improvement or poor. |
Not Seeing Data?
| Problem | What to check |
|---|---|
| The snippet is on the page but nothing arrives | Open your browser's Network tab and reload the page. Look for the analytics request and check it isn't blocked by an ad blocker or your site's security policy. |
| Requests are blocked or show CORS errors | Your site's Content Security Policy must allow requests to the analytics collector. |
| Events arrive but the dashboard stays empty | Reports leave out bots and test traffic. If you left testMode: true in the snippet, remove it. |
| Only some pages should be tracked | Add the snippet only to those pages. |