Optimize
1.8K members online now
1.8K members online now
Discover how to select who is eligible to be in your experiment, and when they’re served experiment variations.
Guide Me
star_border
Reply

Exclude url targeting

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a url "starts with" targeting rule for https://www.mysite.com/lp/

 

This is great as all pages following this are dynamic landing pages from Adwords.

 

However there are two pages: 

 
 
I do not want to include these 2 specific urls for this test but i'm unsure if that's possible?
 
 

Exclude url targeting

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭

Maybe it is an option to exclude the Optimize script from those pages?

Exclude url targeting

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

True that can be done.

 

But often you want your optimise snippet to be on all pages for ease of use and then be able to exclude pages through Optimizely/Google Optimize etc

Exclude url targeting

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

This may work for you:

1. you'll have to apply two URL targeting rules/conditions.

- first one "URL starts with" "https://www.mysite.com/lp/", which you already have

- Next, create a second rule/conditon "URL does not end with any of" and insert these multiple values:

 

https://www.mysite.com/lp/tank

/lp/tank

lp/tank

 

The Optimize documentation is not clear so I had to add the above different values to target.