HomeInstructionsFiltering by Domain

Filtering by Domain

Some websites can be accessed through multiple domains — for example my-domain.com and anotherdomain.com. Even though visitors see the same website, they technically arrive through different entry points. Often this is done by adding a constant to the wp-config.php that takes the current host:


define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']); 

define('WP_HOME', 'https://' .$_SERVER['HTTP_HOST']);

The Filtering by Domain feature in Burst Pro makes it possible to distinguish those visitors based on the domain they used.

How it works

Once this option is enabled:

  • Each time a visitor lands on your website, Burst Pro stores the exact domain they used to access it.
  • In your analytics dashboard, an extra filter appears allowing you to switch between domains.
  • This lets you compare traffic and performance per domain, even when all domains lead to the same content.

Why it’s useful

This is especially valuable when you:

  • Manage multiple brands pointing to a single site
  • Use localized domains (e.g. .com.nl.de)
  • Redirect campaigns or partnerships through unique domains

With domain filtering, you can see which domain drives the most traffic, engagement or conversions — without needing separate installs or complex setup.

Written by

What’s in Burst Pro?

    All Burst Statistics features +