I want to exclude some groups of internal users from analytics, but keep the website personalized for them (and gather data for future personalization).
I tried 2 approaches and none of them worked:
- Exclude Robots - exclude from analytics but personalization stops working.
- aggregation.filter.inbound - I created a custom processor in which I set
args.IsExcluded = true
when IP is on a list. This doesn't work as the data still shows in Analytics Reports, even when the logs says that the filter was called and it should be filtered out.
What I want to try:
- set
Tracker.Current.Contact.ContactSaveMode = ContactSaveMode.NeverSave;
in a pipelines after the tracker is created when IP is internal. But as I understand that will stop gathering data for contact. - add custom processor to
interactions
pipeline that will abort the pipelines when internal IP is used in interaction. I'm not sure if this will work and how to get interaction IP here. - creating a custom channel for internal users, and adding a filter by channel to each of Analytics Reports. I am not sure if all reports can be filtered by channel.
Sitecore.Analytics.ExcludeRobots.config
and see if it fixes the problem – Hishaam Namooya Feb 19 '18 at 14:26