AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Optimize
1.9K members online now
1.9K 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

Optimize doesn't work with datalayer targeting

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi

 

I want run expriment by datalayer variable targeting

 

1-data-layer-variable.png

But, I can not configure it. Google Optimize wants to set me a URL or path from me. But my website is dynamic and contains various pages. And I want to start an experiment on just some of the page types.

2-error-targeting.png

 

Thanks 

 

Andrej

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Andrej S
November

Optimize doesn't work with datalayer targeting

Google Employee
# 2
Google Employee

Hi Andrej

 

What you are trying to do is perfectly valid and supported.

 

Optimize requires a rule related with the URL to help the vast majority of users to avoid forgetting it.

 

What you can do is to just add a rule that matches all your pages, like for example:

Path matches regex .*

 

In addition, add your datalayer targeting rule.

 

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Andrej S
November

Optimize doesn't work with datalayer targeting

Google Employee
# 2
Google Employee

Hi Andrej

 

What you are trying to do is perfectly valid and supported.

 

Optimize requires a rule related with the URL to help the vast majority of users to avoid forgetting it.

 

What you can do is to just add a rule that matches all your pages, like for example:

Path matches regex .*

 

In addition, add your datalayer targeting rule.