Quick Tip: Bundle target actions in Google Analytics

With the help of the JavaScript library analytics.js from Google Analytics, any events on websites can be tracked. These events are, for example, an exact measurement of the length of stay, the maximum scroll depth of the visitors or other individual actions such as submitting forms. If you want to evaluate advertising campaigns or carry out A / B tests later, for example, you create so-called target projects.

The ga function can be given the three parameters eventCategory, eventAction and eventLabel to identify and group the event:


If you want to combine several events into one goal (e.g. if different paths lead to the same goal and the differentiation is not necessary here), you select "Regular Expression" as the type in the goal details and, for example, separate the names of the event actions with the pipe symbol: 

Quick Tip: Bundle target actions in Google Analytics

This is especially helpful because Google Analytics has a limit of 20 target actions per data view.