While waiting for Sitecore 9.X and xConnect we may want to get the most out of Sitecore MongoDB, to go beyond out-of-the-box dashboards and impress executives wit h deep insights. In some cases, Sitecore xDB Cloud may limit you what you can get from custom reports.
I has been ask by business to find out a way to not track internal visits – easy stuff – we can add internal IP, public IP into <excludedIPAddresses> node of Sitecore.Analytics.ExcludeRobots.config file.
It worked for a while. Then I has been ask to disabled only on CM, but …sometimes 😉 . Marketers, usually don’t want to see internal traffic to be tracked, but from time to time they would like to test some functionalities and to track visits. Deploying each time a config file is not an option.
I thought, it would be nice to add some logic into the same pipeline (excludeRobots) where we filter already IP to exclude.