# SiteSpect notes ## Campain Campain view consist of few sections: - **General** is for setting tests to running and specifying type of test - **Variations** is most important from dev perspective. Here you can implement actual changes on the page - **Metrics** - this section defines what kind of metrics needs to be collected during the test. This is not set by default, so it's important to fill this To set up test, you need to expand **Variations** section. ![](https://i.imgur.com/XciICvn.png) Then you need to set **Trigger**, which is the condition to determine which pages should trigger the test. You can use eg. URL, GEO, text from page source, etc. After Trigger is set you can use find and replace to change content on the page in "What to Change" section. This will replace page source on the server side. ![](https://i.imgur.com/c6YQ5nB.png) Before you start the test you need to also manually assign what **Metrics** you want to collect. To do so: - Expand Metrics section - Drag and drop metric you want into **Assigned Metrics** field ![](https://i.imgur.com/USgwSoG.png) ## To Start the test In **General** section set **Status** to Active: ![](https://i.imgur.com/AwjbyE6.png) You can also set date range ## [Geo targeting 🔗](https://doc.sitespect.com/knowledge/geo-location-triggers) To target specific geo for the test you need to: - Add Trigger - Set to Geo Location - Drag and drop geo you need ![GEO trigger](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Geo%20Location%20Triggers%20-%20When%20to%20Change.png?width=1376&name=Geo%20Location%20Triggers%20-%20When%20to%20Change.png) <br> Downside of this is that I couldn't find option for excluding specific geo. For this you need: - Add additional trigger - Set to "Page Source" - Set rule to "Does not contain" - Using `globalGeoVars` from page source check for country/state to exclude, eg. `country:"GB",` ![](https://i.imgur.com/pQ3DTAL.png)<br><br> ![](https://i.imgur.com/Qph8vfd.png)