Ad-blocker bypass

As with other analytics tools — privacy-friendly or not — some ad-blocking extensions or browsers may block Seline. Either our script gets completely blocked by ad-blockers, or some of its requests get blocked. Seline allows you to bypass this by proxying our script and its requests through your own subdomain.

You can either:

  • Implement and maintain your own proxy. If you are considering this, you probably know what you're doing. We also have a guide on how to do it with Cloudflare workers.
  • Use our managed proxy. In this case, the process is as simple as adding a single DNS record. Find out how to do it below.

Managed proxy service is only available for Pro plans.

Step 1: Add a CNAME record to your DNS settings

  1. Choose a subdomain you'd want to use for the proxy. We'll use sln in this guide, making it sln.yourdomain.com
  2. Go to your DNS provider's dashboard
  3. Add a CNAME record with the following settings:
    • Name: sln
    • Target: out.seline.com

If you're on Cloudflare, make sure to disable Orange Cloudflare Proxy status.

Setting up a CNAME record
Setting up a CNAME record.

Step 2: Save your proxy subdomain at Seline settings

  1. Go to your Seline dashboard.
  2. Go to Settings > General.
  3. Save your proxy subdomain at Bypass ad-blockers section.

Make sure to add a CNAME record to your DNS settings before saving the subdomain.

Setting up a proxy subdomain at Seline
Setting up a proxy subdomain at Seline.

You'll need to wait a minute or two for the proxy status to be updated.

Step 3: Update your script

Update your script to be proxied through the subdomain.

<script src="https://sln.example.com/ennui.js" data-api-host="https://sln.example.com" data-token="PROJECT_TOKEN" async></script>
Click anywhere to copy

You're all set! Now all requests made by our script will go through your first-party subdomain.