Antlytics logoAntlytics

Send Antlytics data to Discord

Post your daily analytics summary to a Discord channel using Discord's built-in webhook support.

Option A: Webhooks (direct)

Discord webhooks accept a JSON body with a content string or rich embeds. Antlytics sends its own payload format, so you will need a middle layer (Zapier, Make, or n8n) to reshape the message.

Create a Discord webhook

  1. Open the Discord channel you want to post to → Settings (⚙)IntegrationsWebhooks.
  2. Click New Webhook, name it (e.g. "Antlytics"), and copy the Webhook URL.

Forward via Zapier

  1. Create a Zapier Zap: Webhooks by ZapierCatch Hook (trigger).
  2. Connect Antlytics to this Zap URL via Settings → Webhooks → Add webhook.
  3. Add a Webhooks by ZapierPOST action step:
    • URL: your Discord webhook URL
    • Data (JSON body):
      {
        "content": "📊 **{{site_name}}** — {{period}}\n• Visitors: {{stats__visitors}}\n• Pageviews: {{stats__pageviews}}\n• Bounce rate: {{stats__bounce_rate}}%"
      }
      

Forward via n8n

In n8n, add an HTTP Request node after the Webhook trigger:

  • Method: POST
  • URL: your Discord webhook URL
  • Body (JSON):
    {
      "content": "📊 {{ $json.site_name }} — {{ $json.period }}\nVisitors: {{ $json.stats.visitors }} · Pageviews: {{ $json.stats.pageviews }}"
    }
    

Option B: API polling

Use a Zapier Schedule or Make scheduler to call GET /api/v1/stats daily and POST a formatted message to Discord.


Need help?

Email support@antlytics.com with your site ID.

Something missing? Get in touch and we will update these docs.