Follow the technical document below to set up the Optimizely integration with Contentsquare. While it is not currently available via Contentsquare integration catalog request (located in the Console) and will not appear in your list of deployed integrations once it is implemented, it is still available to use. |
Details
Integration Type | Dynamic Variable Prefix |
AB Testing | AB_OP_ |
Implementation
For Optimizely Full Stack please use this documentation here.
For Optimizely Web (client side) please resume below.
For Optimizely Web (client side) please resume below.
Please go to the section How to request an integration to see the instructions to enable this integration. You can then return here once completed.
If you have already completed the step above then continue below.
Verifying it works
Whether the integration sends the real test and variant names or the IDs is dependent on a setting inside of Optimizely.
If the data being sent looks like this screenshot then Optimizely is masking the campaign names:

If you’re masking the real names then you can work out from the Optimizely UI what the numbers mean. If you select a variant inside of Optimizely, you will see both the tests ID and the variant’s ID:

You can show the real names by clicking on Settings inside of Optimizely and looking at the checkbox for Mask descriptive names in project code and third party integrations:

It will then look like this:

In Contentsquare you can find these variables by searching like this:


Forcing the right background
Inside of Optimizely go to the variant you want to analyse inside of Contentsquare by clicking on Experiments and then click on the campaign that contains the variant:
Click on the variant you want to analyse then click on Preview then click on Share Link

From the pop-up that opens click on copy link to copy it to your clipboard.

Inside of Contentsquare go to mappings and select the mapping with the page you ran the test against. Click on the page:

Click on the icon for more options:

Click on Url of page preview then paste the URL from Optimizely into the input box:

Now when you go to zoning and create a new zoning for the page, it will render the variant. Note – you must be logged into Optimizely when you create the new zoning.
You can now analyse the test variant in zoning – make sure to apply the segment for the visitors that saw the variant.
Dynamic Variable Possibilities
Var Key | Var Type |
AB_OP_Campaign Name or ID
|
Text
|