Recently I wrote about a standard data layer for customer experience data. Extending our last discussion, in this post I am going to describe how you can use custom data attributes (data-*) and data layer for event tracking. As an example and to demonstrate use of custom data attributes and data layer, we are going to use Google Analytics.