Antlytics logoAntlytics

Send Antlytics data to Airtable

Append daily analytics rows to an Airtable base to build custom dashboards and trend reports.

Option A: Via Zapier or Make (easiest)

  1. Connect Antlytics via Settings → Webhooks to a Zapier or Make webhook trigger.
  2. Add an Airtable → Create record action step.
  3. Select your base and table, then map fields:
    • Dateperiod
    • Visitorsstats.visitors (or stats__visitors in Zapier)
    • Pageviewsstats.pageviews
    • Bounce ratestats.bounce_rate

Option B: Airtable Scripting extension

Use the Scripting extension to pull data from the Antlytics API on demand or via an automation.

const TOKEN   = 'ant_YOUR_API_TOKEN';
const SITE_ID = 'YOUR_SITE_ID';

const res = await fetch(
  `https://www.antlytics.com/api/v1/stats?site_id=${SITE_ID}`,
  { headers: { Authorization: `Bearer ${TOKEN}` } }
);
const { visitors, pageviews, bounce_rate } = await res.json();
const today = new Date().toISOString().slice(0, 10);

const table = base.getTable('Stats');
await table.createRecordAsync({
  Date:         today,
  Visitors:     visitors,
  Pageviews:    pageviews,
  'Bounce rate': bounce_rate,
});

output.text(`Logged: ${visitors} visitors, ${pageviews} pageviews`);

Pair this with an Airtable Automation → Scheduled trigger to run daily.

Option C: Airtable Automations + HTTP fetch

  1. In your Airtable base, go to AutomationsCreate automation.
  2. Set the trigger to At a scheduled time (daily).
  3. Add a Run script action and paste the script above.

Need help?

Email support@antlytics.com with your site ID.

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