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

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

  • July 4, 2019
  • 2 replies
  • 2280 views

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.
Best answer by Andrey_Osadchuk

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
New Participant
July 7, 2019

Thanks, Andrey!

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
New Participant
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.