Event serialization is the process of implementing measures to prevent duplicate events from entering Analytics reporting. De-duplicating events is important in cases where you don’t want metrics inflated by visitors refreshing the page.
Data Sources does not support event serialization or de-duplication.
You must first set an event’s Unique Event Recording to Use Event ID in report suite settings. See Success Events in the Admin user guide.
When using event IDs, de-duplication happens on the following levels:
event2:ABCare both counted in reporting.
event1:ABCthen visitor B also sends
event1:ABC, Adobe ignores the second instance from visitor B.
event1:ABCthen comes back 2 years later and sends
event1:ABCagain, Adobe ignores the second instance.
You can set the event ID field either while configuring the Analytics extension (global variables) or as an action in a rule.
Valid values are alpha-numeric characters up to 20 bytes in length.
Event serialization is part of the
s.events variable. Assign an ID to each event using a colon in the string.
// Assign custom ID serialization to a single value s.events = "event1:ABC123"; // Assign custom ID serialization to multiple values s.events = "event1:ABC123,event2:ABC123";
If an event has serialization enabled but does not contain a serialization ID, the event is always counted.