Is it possible to create a rule without any Event but Only Condition? | Community
Skip to main content
adilk
Level 4
July 4, 2019
Solved

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

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
July 5, 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.

2 replies

adilk
adilkAuthor
Level 4
July 7, 2019

Thanks, Andrey!

Translate
Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
July 5, 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.

Translate