OptiMonk has direct integration with Magento, so you can use the OptiMonk application (available in the Magento Marketplace) to integrate the two systems.
Installing an application on Magento takes a few steps. OptiMonk walks you through all of them with screenshots — open Settings → Domains, click your store's domain row, then Connection guide, and under Connect your website → What e-commerce platform do you use? choose Magento. The guide has three steps, and this article follows the same three.
Step 1 — Create a new access key
First, log in to your Magento Marketplace account at https://marketplace.magento.com. Click on your name in the top right corner, then click on My Profile.
Click on Marketplace, then Access Keys under My Products.
Select your Magento version, then click on Create A New Access Key.
Give a name to your access key, then click OK. This will create a Public and a Private Key — you will need both on your Magento Admin page.
Open the Magento Admin page in a new browser window, and click on System, then Web Setup Wizard. (Take a note of your Magento version while you are there.)
Select Component Manager on the next page.
Select Sign in to sync your Magento Marketplace purchases.
Copy the Public and Private keys you created in the Marketplace, then click Sign in.
Step 2 — Install the OptiMonk application
Go back to Magento Marketplace, click on the Search bar at the top, and search for OptiMonk.
Select the correct version of the OptiMonk application for your Magento version, then click on Add to Cart.
Complete the checkout steps. The OptiMonk application is free in the Magento Marketplace.
Go back to your Magento Admin page / Component Manager, and click on Sync. Then click Install under New Purchases and select the OptiMonk application from the list.
Click on Start readiness check.
Once it is finished, click on Next. In the next step, you can create a backup — click Next once you have selected the options you want to use.
Click on Install to finish the setup.
Step 3 — Paste your OptiMonk ID
This is the only step that happens in OptiMonk, and you do not have to look anything up: the guide's third step, Paste your OptiMonk ID, shows it for you — Copy your OptiMonk ID 12345 and paste it into the Magento Admin page to finish the setup.
Copy your OptiMonk ID from the guide.
Paste it into the OptiMonk settings on your Magento Admin page and save.
Back in OptiMonk, click Check now at the bottom of the guide. When everything is in place, you get The OptiMonk code is live on your-domain.com, and the domain row in Settings → Domains switches to Code inserted.
If it says We looked at your-domain.com and could not find the OptiMonk code yet…, make sure the extension is enabled and your store cache is refreshed, then click Check again.
Checking loads your site once and looks for the code — it does not need visitors.