Tutorial by Examples

Insert the following function call within your JavaScript when searching within your website to track how visitors are using your internal search features. In this example, the Event Action filters is a comma-delimited list of search filter name/value pairs, and the Event Label orderedBy is a strin...
Adding a product to a shopping cart (Label item.name references the name property of the product added): ga('send', 'event', 'Cart', 'Add', product.name); This lets you see what people are adding to the shopping cart, even if they never complete the order, allowing more insight into where users ...

Page 1 of 1