Description
Requirements:
- Have an Optimizely account
- MV Testing activated in Tag Composer
Activation:
To activate this integration you need to follow the steps detailed below. The connector is based on Optimizely’s JS script in order to catch MVT data and display it in the Analytics Suite 2.
A- Integration of the AT Internet tracking code (Callback MVT) in the Optimizely X settings.
B- Association of the tracking with an A/B test or multivariate test in Optimizely X.
C- Display of “MVT Testing” test campaigns results in AT Internet.
You can access all the detailed documentation through this link.
You must copy and paste this JS code in Optimizely settings/integrations interface in order to activate the connector:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
window.ATInternet = window.ATInternet || {}; window.ATInternet.Callbacks = window.ATInternet.Callbacks || {}; window.ATInternet.Callbacks['OptimizelyX-'+campaign.id] = window.ATInternet.Callbacks['OptimizelyX-'+campaign.id] || function (tag) { var optimizelyState = optimizely.get('state'), campaignLabel = campaign.name || campaign.id, // In case the "Mask descriptive names..." setting is On variationLabel = optimizelyState.getVariationMap()[experimentId].name || variationId; // Removing first 2 digits to campaign/variation IDs because they are too long for our systems tag.mvTesting.set({ test: campaign.id.substring(2)+'['+encodeURIComponent(campaignLabel)+']', waveId: 1, creation: variationId.substring(2)+'['+encodeURIComponent(variationLabel)+']' }); tag.dispatch(); }; window.ATInternet.Utils = window.ATInternet.Utils || {dispatchCallbackEvent: function () {}}; window.ATInternet.Utils.dispatchCallbackEvent('OptimizelyX'+campaign.id); |
Reviews
There are no reviews yet.