DataLook Docs
Install guides

Netlify

Install DataLook on Netlify — the plain script tag, or the first-party proxy that beats ad blockers. Both on one page.

Paste one tag into the <head> of your site. No build step, no package.

Add the script to your <head>

Drop it in as the first script in <head>, before any analytics-blocking library.

<script defer src="https://cdn.datalook.app/s.js" data-site="YOUR_SITE_ID"></script>

Deploy and visit your site

Open your site in a fresh tab. Your first pageview shows up in the dashboard within a few seconds.

The proxy install serves both s.js and the collector from your own domain, so ad blockers — which match on domain, not path — can't see us. You rewrite one innocuous path prefix to our CDN; the script figures out the rest.

A 200-status redirect proxies the prefix (it rewrites instead of redirecting).

Add a proxy redirect

Put this in your published directory (e.g. public/_redirects). The 200 status makes it a proxy.

_redirects
/_axis/*  https://cdn.datalook.app/:splat  200

Point the script at the prefix

<script defer src="/_axis/s.js" data-site="YOUR_SITE_ID"></script>

Heads up

Your server now sits between the visitor and us, so forward the visitor IP (X-Forwarded-For) or your country breakdown will collapse to your server location. The DNS proxy avoids this entirely — see the proxy overview.