exclude sales from users that have reached a goal
E.g. Customer is comes to site, and is part of the experiment as usual. But then interacts with a certain modal/popup. I'd like to track how many customers reach that goal, but then also exclude their sales.
Waht is the best way to go about this / is it possible?
Solved! Go to Solution.
@jayventura - just to clarify your question....You have visitors coming to your site. All are included in an experiment. Some interact with a modal while others do not.
If the visitor who **does not** interact with the modal convert, then you *do* want to capture this as revenue or conversion goal. But if the visitor **does** interact with the modal then you **do not** want to capture the revenue or goal.
Is this correct?
You are correct. Some will interact with the modal, some will not, purely based on the user journey through the shop. Those that *do* interact with the modal, I *do not* want to consider as a conversion in the experiment.
You could track how many users click on the modal and track how many users get to your revenue page by using a pageview goal: https://help.optimizely.com/hc/en-us/articles/2000
If you wanted something more complicated, you could setup a bit of code in the edit code box to throw a custom event. When the user clicks on the modal, you could drop a cookie on that user. When the user then reaches the receipt page, you could evaluate whether or not they have that cookie and push a custom event in the case where they do not. PM me if you would like more information or a walkthrough on how to do this.