Block tracking from particular domain

rajas66269496

06-08-2020

I don't want to track requests coming from the particular domain, I tried Exclude by IP and bot rules options but, still, it did not work out, any pointers on this will help us lot.

 

Thanks

Raj.

Accepted Solutions (0)

Answers (3)

Answers (3)

evolytics_brian

07-08-2020

@rajas66269496 - Assuming you have control over the implementation, you can do what @vibhatna suggested and remove it entirely from pages on the offending domain. Another option might be to leverage s.abort as part of your doPlugins logic to stop analytics calls from firing only when/if it's the offending domain. For example:

s.doPlugins = function(s) {
  if (document.location.hostname === "www.ignorethisdomain.com") {
    s.abort = true; // stops the analytics call from firing
  }
};

More information about s.abort can be found here: https://docs.adobe.com/content/help/en/analytics/implementation/vars/config-vars/abort.html 

vibhatna

07-08-2020

Exclude by IP is used to exclude the traffic coming from specific IPs.
Bot rules are used to exclude the traffic coming from specific IPs or User Agent. 

They won't help in blocking the requests from a particular domain. 

vibhatna

07-08-2020

You can either get the VISTA rule created with the help of Engineering team to discard hits coming from a particular domain or can remove the Adobe Analytics implementation form that particular domain.