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:ABC are both counted in reporting.
event1:ABC then visitor B also sends
event1:ABC, Adobe ignores the second instance from visitor B.
event1:ABC then comes back 2 years later and sends
event1:ABC again, Adobe ignores the second instance.
Event serialization is mapped for Adobe Analytics under the desired event XDM field’s
id. The full XDM path depends on which event that you want to serialize.
For example, if you wanted to serialize the Cart Additions metric, set the
commerce.productListAdds.id XDM field to the desired serialization value. If you wanted to serialize Custom event 20, set the
_experience.analytics.event1to100.event20 XDM field to the desired serialization value.
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. If you enter a value that is longer than 20 bytes, then the system truncates it to the first 20 bytes.
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.