At the moment there is the option to either:
- always record an event
- record an event once per visit
- use a serialization ID
I would like a 4th option of counting an event once per visit, per a unique value of another variable (e.g. eVar, s.products)
For example, we have a number of processes that I want to trigger a completion event for, once per visit per process.
My options currently include:
- Dedicate an event to each process and set each event to count once per visit. (uses too many events)
- Use a single event and create a serialisation ID that is unique to the visit and process (convoluted)
- Write logic to keep track of which processes have been completed in a cookie and conditionally add the event to the s.events variable. (again convoluted)
As we are capturing the process name into an eVar, it would be great if I could configure in the admin console to count once per visit per eVar value.