Expand my Community achievements bar.

SOLVED

Launch rule to trigger for a single page

Avatar

Level 1

Hi All. Apologies for the noob question. Basically we want the rule to fire just on the single page and not on subpages for eg.

 

Fire on : www.abc.com/

Not on : www/abc.com/contact-us.html

 

The rule somehow fires on the subpage too. Any ideas on exact expression to use?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @asadm98356797 

 

You can create a rule and under conditions use condition type either as value comparison or subdomain equals to only for www.abc.com so the rule fire on this page only. here is the screenshot of regular expressions. 

 

gokula_1-1643645688470.png

Hope this helps. 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @asadm98356797 

 

You can create a rule and under conditions use condition type either as value comparison or subdomain equals to only for www.abc.com so the rule fire on this page only. here is the screenshot of regular expressions. 

 

gokula_1-1643645688470.png

Hope this helps. 

 

Avatar

Level 1

Thank you. We tried regulat expression before posting here. Might have missed something there. Will try again. Thought it could be just a simple condition in the rule