Weekly report#
A site can preview a Monday-through-Sunday summary, and can opt in to having that summary delivered after the week closes.
The report lists top pages, UTM source, UTM campaign, referrer domain, goal conversions, funnel completion, and each saved funnel on the site. Each count is compared with the previous week. A change is called out when it is large enough to matter: visitors and pageviews move by at least five and 20 percent, a listed row moves by at least three and 25 percent, and funnel completions move by at least two and 25 percent. A new row with no previous count is called out once it clears the same absolute bar.
Visitors are the daily hash. A person who returns on another day counts again. The page, the print view, and the JSON carry counts and labels. Notes whose date or range overlaps the week are listed with the report, including their tags. A goal with a target shows progress toward that target. Fired threshold alerts are listed with the report.
Preview#
Open GET /weekly, enter the site, and choose Preview. Leave the week
ending blank to use the last complete local week, or set it to a Sunday.
Print view is the same report without the form.
GET /api/weekly?site_id=...&week_end=YYYY-MM-DD returns the JSON.
Delivery#
Save the opt-in on the page. Add the funnel steps there when the report should include completion; two to six steps, with no blank step in the middle. Leave them blank to skip the funnel.
The midnight rollup queues the JSON on each enabled alert webhook for
that site. The body is signed with X-Antics-Signature, the same
HMAC-SHA256 header as an alert. A host that does not resolve is retried.
A week that was already queued is not queued again. Preview does not
send the webhook. A site with no alert webhook keeps the report on the
page until one is saved.