Skip to main content

Can I integrate Optimonk with Adobe Analytics instead of Google Analytics?

Updated over 5 months ago

Yes. You can track OptiMonk campaign interactions in Adobe Analytics by adding your Adobe tracking script to the campaign’s custom JavaScript settings. This guide walks you through the setup.

Step 1: Log In to Your OptiMonk Account


Step 2: Open the Campaign You Want to Track

  1. Select Campaigns in the left-hand menu.

  2. Choose the campaign you want to integrate with Adobe Analytics.

mceclip0.png

Step 3: Choose the Relevant Variant

Select the Variant you want to track with Adobe Analytics.

mceclip1.png

Step 4: Open the JavaScript Editor

  1. Click Dev mode on the left.

  2. In the new window, select JS editor.

mceclip2.png


Step 5: Add Your Adobe Analytics Tracking Script

Insert the following code snippet into the JavaScript editor:

$(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() {}
	    );
	});
});

Your editor should look similar to this:

mceclip3.png

Important! Please note that you need to replace the [ADOBE TRACKING LINK] placeholder in the above code with your own Adobe Analytics tracking link.


Step 6: Save Your Changes

Click Save, then Save & Exit in the top-right corner.

mceclip5.png

Need Help?

If you need help completing the integration, contact us at [email protected] and include:

  • Your Adobe Analytics tracking code

  • The email address of your OptiMonk account

  • The URL of your OptiMonk campaign

Did this answer your question?