Skip to content

Realtime, campaigns, cohorts, scheduled reports and alerts

These Analytics pages and emails read the request log and the site events Digize records on the sites it serves, and the workspace’s own orders. Each page reads the operation named under it, so the public API answers the same, and each downloads as a CSV (Downloading a report).

Analytics › Realtime shows who’s on your sites now: visitors with a page view in the last five minutes, the pages they’re reading, where they came from (the channel and the site that sent them), their countries and devices, and page views minute by minute over the last 30. The page asks again every 15 seconds while it’s open, and a visit shows within a minute of the page being opened.

It reads GET /api/v1/analytics/realtime, which counts from the request log, so it works with tracking set to requests only too. Visitors are told apart by the day’s cookieless hash, as Traffic counts them.

Analytics › Campaigns groups visits by the UTM tags of the link they came in on (utm_source, utm_medium, utm_campaign, and if you pick them utm_term and utm_content), with each group’s visits, bounce rate, leads, bookings and purchases, how many visits converted, and the revenue they made less refunds, per visit too. Visits with none of the grouped tags are a row of their own, so tagged traffic reads against the rest. An outcome counts for the visit that led to it on any of your sites, so a booking made on your booking page after a visit from a newsletter link counts for the newsletter.

It reads GET /api/v1/analytics/campaigns.

Analytics › Cohorts follows people over twelve weeks, one row per week:

  • First visit: visitors whose first ever visit came that week, and the share of them who came back in each week after. A visitor who first came before the twelve weeks isn’t counted as new in them. Purchases they went on to make are counted too.
  • First order: customers whose first ever order came that week, and the share who ordered again in each week after, with what those orders came to.

Weeks start on Monday. The deeper a cell’s shade, the more of its row came back; the chart below averages each week across the rows old enough to have it.

It reads GET /api/v1/analytics/cohorts.

Traffic, Revenue, Funnels, Campaigns, Cohorts, Pages, Landing pages and SEO’s tracked keywords each have a Schedule button. It emails you that report as the page shows it now (its period, grouping or site) every day, week or month at the hour you pick on the workspace’s clock: a few lines of headline numbers, and a link to its CSV that works for seven days. Your schedules are in Analytics › Settings › Scheduled reports, where you pause or stop them; each is yours alone, and one goes quiet by itself if you leave the workspace.

POST /api/v1/analytics/reports/schedules schedules one, with input as the report’s own operation takes it ({ "days": 30 } for Traffic, { "by": "order" } for Cohorts). An API key has no one to send to, so only a member, or the agent for one, can schedule a report.

Every Monday at 8 AM on your own clock (Settings › Profile), the Weekly summary emails you the week before: visitors, page views, revenue, orders, new contacts and bookings against the week before that, where visitors came from and the most viewed pages. It’s on for every member until they turn it off under Settings › Profile › Notifications. A workspace whose sites had no visitors that week isn’t sent one.

Analytics › Settings › Alerts has three switches, all off until someone turns them on. Each morning at 7 on the workspace’s clock, yesterday is checked against the usual, and owners and admins hear about anything that stands out in the bell and by email:

Alert When
Traffic drop Visitors under 60% of the same weekday’s average over the four weeks before, once that average is 30 or more.
Slower pages The main content taking a quarter longer to show than over the week before (average Largest Contentful Paint), past 2.5 seconds, from at least 20 readings.
Error spike Server errors and JavaScript errors at three times the week’s daily average, and at least 20 more.

Each alert is raised once a day. They’re switched on with PATCH /api/v1/analytics/settings (alerts).