Skip to content

Pixel White-labeling

White-labeling allows you to serve the analyze.swiss tracking script from your own domain, improving tracking accuracy and bypassing ad blockers.

  • Bypass Ad Blockers: First-party requests are rarely blocked
  • Trust: Your domain appears in network requests
  • Performance: Potentially faster loading from your CDN
Section titled “Option 1: Cloudflare Workers (Recommended)”

If you use Cloudflare:

  1. Go to Workers & Pages in Cloudflare
  2. Create a new Worker
  3. Use this proxy code:

```javascript export default { async fetch(request) { const url = new URL(request.url); url.hostname = ‘analyze-ingest.thismatters.workers.dev’; return fetch(url.toString(), request); } } ```

  1. Add a route: t.yourdomain.com/*

Add a CNAME record pointing to our ingest server:

``` t.yourdomain.com CNAME analyze-ingest.thismatters.workers.dev ```

```nginx location /t/ { proxy_pass https://analyze-ingest.thismatters.workers.dev/; proxy_set_header Host analyze-ingest.thismatters.workers.dev; } ```

Update your tracking script:

```html

```

  1. Open your website
  2. Check Network tab for requests to your domain
  3. Verify events appear in your dashboard