Developer docs

Install datataste

Get up and running in under five minutes. Add the tracking snippet, or send events server-side via the ingest API.

v3.0Updated May 2026

Add the script

Paste the snippet below inside the <head> of every page you want to track. You can add it through your CMS's head-injection setting, a tag manager (Google Tag Manager, Segment, Tealium), or directly in your site's HTML / template.

HTML
<!-- datataste Analytics -->
<script>
  window.dataLayer = window.dataLayer || [];
  window.DATATASTE_TRACKING_ID = 'YOUR_TRACKING_ID';
</script>
<script src="https://datataste.ai/datataste-tracker.js" async></script>
<!-- End datataste Analytics -->
Tip

Swap YOUR_TRACKING_ID for the property tracking ID shown in your datataste dashboard under Tracking code. It starts with dk_.

Server-side install

If your stack does the ingest from a server (Node, Bun, Deno, Go, Python), you can POST events directly to https://datataste.ai/api/events/ingest. See the Ingest endpoint reference for the full payload schema — coming soon.