Optimize
3.5K members online now
3.5K members online now
Everything you need to know about setting up Optimize including creating your account and container, linking to Google Analytics and how to tag your site.
Guide Me
star_border
Reply

Elements which don't exist on all pages

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Say I'm running a text replace experiment on an anchor from a menu, but this menu doesn't run site wide. If I have my targeting set to the entire site, what will happen when an experiment tries to run on a page with with no menu? Will Google Optimise error quietly?

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author Brandon L
February 2017

Elements which don't exist on all pages

Google Employee
# 2
Google Employee

Hey Brandon,

 

As long as you choose the right element to target, the experiment will "run" on other pages - so users will be measured - but no changes will be made.  You could do some more advanced targeting in order to try to only hit that page - such as if there were a JS variable you could use for targeting with Activation Events.  Hope that helps!

 

Jon