Adobe Analytics lets you mix, match, and analyze data from anywhere in the customer journey. You can use Adobe Analytics with your OptiMonk Campaigns as well. To do so, please follow these steps:
1. First, log in to your OptiMonk account at https://app.optimonk.com/login/en
2. Select Campaigns on the left menu, then select the Campaign you wish to set up with Adobe Analytics:
3. Select the Variant of your Campaign that you want to use:
4. Select Dev mode on the left-hand side, then select JS editor in the new window:
5. You’ll need the following code to use Adobe Analytics for your OptiMonk Campaign:
$(function () { $('.OM-conversion-action').on('click', function () { if (!OptiMonk.validate($('.OM-form'))) { return; } OptiMonk.executeOnSite( function() { (function(e){ var t,r=e.getElementsByTagName("head")[0],c=e.location.protocol; t=e.createElement("script");t.type="text/javascript"; t.charset="utf-8"; t.src=c+"[ADOBE TRACKING LINK]";r.appendChild(t); })(document); }, function() {} ); }); });
It should look like this:
Important! Please note that you need to replace the [ADOBE TRACKING LINK] placeholder in the above code with your own Adobe Analytics tracking link.
6. Once you are ready, click Save, then Save & Exit in the top right corner to finalize the changes:
That's it! :)
In case you need further help, please let us know at support@optimonk.com including the following information:
- Your Adobe Analytics tracking code
- Email of your OptiMonk account
- URL of your OptiMonk campaign
Comments