Event specifications are a way to organize and validate the quality of incoming data and they represent your data layer in EventStream. As mentioned earlier, events processed by EventStream are identified by the
tealium_event attribute. The value of this attribute represents the name of the event and its associated specification. The specification also indicates which event attributes are required in the event.
Event specifications are used to identify and standardize the events you want to collect in your EventStream implementation.
Here's how it works:
tealium_eventattribute. For example, an event that tracks when a user performs a search would be represented by
tealium_event="search"and would have required attributes
search_resultscontaining the searched term and the number of results returned respectively.
Example event specification:
tealium_event : "search",
search_keyword : "STRING", // the searched term
search_results : NUMBER, // number of results
product_on_page : ["STRING"] // array of product strings
Click Next to see how to add an event specification.