The Site Area is the place within the app where you configure the criteria that you want to use to trigger your experiment.
You can find the Site Area in the Experience Summary screen.
By default, the experiment runs on the URL you used when creating the experiment. Multi-page, site-wide and other conditions can be added to trigger an experiment. You can use Include or Exclude conditions.
Then you can use one of the various options to include or exclude pages of your site:
-
By Page URL
-
By Query String
-
By Tagged Page (not available in all plans)
-
By JS Condition (e.g. ((window.location.href=="http://www.convert.com") && (window.user_logged_in == 0))
- By Page URL (with Query String)

Important
If you want to use multiple conditions in the Site Area, be aware that they are OR conditions. For instance, if you want a visitor to meet all conditions that you set, you will have to do this using a JS Condition that returns a boolean value. Take steps to avoid any undefined result as that could lead to unpredictable behaviour.
Example JS conditions:
(function() { if ((window.location.href.indexOf("https://mysite.com") != -1) && (window.otherCondition==true)) { ... other code ... return true; } else { return false; } })()
or simply:
((window.location.href.indexOf("https://mysite.com") != -1) && (window.otherCondition==true))

Tips
The Site Area can be used for site-wide testing, targeting specific pages like a product or category page that has something special in the URL, or using page tags to signal back-end user plans.
When doing multi-site testing (multiple domains), use this area to define all the domains involved and make sure they are added in Active Websites under Project Settings as well.
Comments