Connect Antlytics to Zapier
Zapier connects Antlytics to thousands of apps — Slack, Notion, Google Sheets, HubSpot, and more — without writing code.
Option A: Webhooks (recommended)
Antlytics sends a signed HTTP POST to any URL when events fire. Use Zapier's Webhooks by Zapier trigger to catch them.
Steps
- In Zapier, create a new Zap. Choose Webhooks by Zapier → Catch Hook as the trigger.
- Copy the webhook URL Zapier gives you (e.g.
https://hooks.zapier.com/hooks/catch/…). - In your Antlytics dashboard, go to Settings → Webhooks → Add webhook.
- Paste the URL, choose Daily summary and/or Pageview threshold, then click Create.
- Copy the signing secret shown once — paste it somewhere safe.
- Click Test in Antlytics to send a sample payload, then click Test trigger in Zapier to capture it.
- Add action steps in Zapier for whichever app you want to notify.
Example payload (daily summary)
{
"event": "daily_summary",
"site_id": "YOUR_SITE_ID",
"site_name": "example.com",
"period": "2026-04-11",
"stats": {
"visitors": 142,
"pageviews": 387,
"bounce_rate": 45,
"top_pages": [{ "path": "/", "visitors": 80 }],
"top_referrers": []
},
"timestamp": "2026-04-11T09:00:00Z"
}
Zapier maps each field automatically. Use stats.visitors or stats.pageviews in your action steps.
Option B: API polling via Zapier Schedule
Use a Schedule by Zapier trigger (daily) combined with a Webhooks by Zapier → GET action to fetch stats on demand.
- Create a Zap with Schedule by Zapier → Every day as the trigger.
- Add a Webhooks by Zapier → GET action step.
- Set the URL to:
https://www.antlytics.com/api/v1/stats?site_id=YOUR_SITE_ID - Under Headers, add:
Authorization: Bearer ant_YOUR_TOKEN - Map the returned
visitors,pageviews, andbounce_rateto your next action step.
Create your API token in Settings → API tokens.
Verifying signatures
If your Zap processes the payload in a Code step, verify the X-Antlytics-Signature header to confirm the payload came from Antlytics:
const crypto = require('crypto');
const expected = 'sha256=' + crypto
.createHmac('sha256', inputData.webhookSecret)
.update(inputData.rawBody)
.digest('hex');
const trusted = crypto.timingSafeEqual(
Buffer.from(inputData.signature),
Buffer.from(expected)
);
Need help?
Email support@antlytics.com with your site ID.
Something missing? Get in touch and we will update these docs.