Target visitors by dataLayer values and events
Choose Google Tag Manager in the condition picker for segments, widget targeting, campaign audiences and flow conditions. A Data layer value condition reads a dot path such as user.plan or ecommerce.value, merged the way GTM merges pushes, and compares it as text, as a number (greater or less than), or checks that it's set.
A Data layer event condition checks whether an event such as purchase or form_submit has or hasn't fired on this page view or this session, optionally with a key in the same push, such as form_id equals newsletter. gtag('event', ...) calls count too. Pushes from before and after RightMessage loads both count, and conditions are checked again as new pushes arrive.
