humanmade / altis-analytics

Analytics module for Altis
https://www.altis-dxp.com/resources/docs/analytics/
GNU General Public License v3.0
9 stars 3 forks source link

XB Analytics: Blocking internal traffic being counted under XB impressions #98

Open PriyaBhatia0210 opened 3 years ago

PriyaBhatia0210 commented 3 years ago

User Story

As a digital marketer, I want to see the total views and impressions of XB variants that exclude the internal traffic (employees, suppliers and service providers) so that I can get a true picture of engagement with my website content

Requirement

Being able to see total views and impressions that should only be representative of external traffic

Acceptance Criteria

Given: I am in the modal of a page selected from the XB Dashboard When: I select an XB variant and total views and conversion rate of XB is displayed Then: By default all the internal and external traffic should be shown And: There should be an option to see traffic that is only external to the organization

PriyaBhatia0210 commented 3 years ago

I am starting to feel a need for creation of a separate Analytics slide in the sidebar. Not sure where the above view should be made possible.

roborourke commented 3 years ago

Hm, for starters how does or should this impact the current analytics display? Is it a setting to be toggled somewhere? Should it affect the way analytics is shown everywhere? Might we need to be collecting some specific information to be able to make this distinction?

Also, do we need to differentiate employees, suppliers and service providers? I'm not sure how the latter 2 fit in but from a technical standpoint we can only reliably differentiate based on who's logged in and what role they have.

PriyaBhatia0210 commented 3 years ago

@roborourke collected some points. Please elaborate with any technical details:

We could just have a developer config setting to pull this data. What a default option look like? We want to segment users for advanced use cases but that may not be MVP. This is lower priority right now.

PriyaBhatia0210 commented 3 years ago

This has to be an optional feature: blocking internal traffic or not.

PriyaBhatia0210 commented 3 years ago

Question: How will a user set up whether an impression is from an internal user? Will they have to set up IP addresses that are internal to the organization?

Question about the UI: For the MVP - this could simply be achieved by providing a check box or a toggle with a micro-copy to say 'See external traffic only' : enabling which will display traffic external to the organization. (Open to suggestions).