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

Avatar

Avatar

adilk

Avatar

adilk

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)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

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.

Answers (1)

Answers (1)

Avatar

Avatar

adilk

Avatar

adilk

adilk

07-07-2019

Thanks, Andrey!