Is it possible to create a rule without any Event but Only Condition?

adilk

04-07-2019

In Rules > Events, is it mandatory to have an action?

If I leave this blank but set up a Condition > Page Path without query string matches regex "/product", should I be able to fire events based on such a rule?

Accepted Solutions (1)

Accepted Solutions (1)

Andrey_Osadchuk

MVP

05-07-2019

The Event is a mandatory part of the Rule configuration.

I presume you want to fire a tag when a visitor opens the page that matches your regex criteria. If so, consider setting an event to  Library Loaded or DOM Ready or other options under the Page Load group.