How to Integrate OptinMonster with 3dcart

OptinMonster can work with any website. The best lead generation tool works on 3dcart too! This guide will show you how you can integrate the power of OptinMonster into your 3dcart site.

  1. Create and Publish a Campaign
  2. Paste the Embed Code

Step 1 – Create and Publish a Campaign

The first step is to create a campaign and retrieve it’s embed code. See this guide on how to embed your campaigns on your site for a step-by-step walkthrough if you need assistance.

Note: This guide presumes that you are adding the single, site-wide embed code to your site.

Step 2 – Paste the Embed Code in 3dcart

Go ahead and log into your account.

Click-Settings-in-3dcart

Click the Settings tab on the left of your screen.

The menu will expand. Go to DesignThemes & Styles and click on Themes & Styles.

Click-on-Settings-then-Design-then-Themes-and-Styles-in-3dcart

The next page will show you your template files for your active theme (for below, the template filename is frame.html.)

Click your file name.

Click-your-3dcart-Template-File

On the following screen, you will see the HTML source code for your template.

Scroll until you get to the closing body tag: </body>

Just above that closing body tag, paste in the single, site-wide embed code.

Paste-OptinMonster-Sitewide-Embed-Code-into-3dcart

Click Save and you should be good to go!

Congratulations! You’ve successfully added OptinMonster’s site-wide embed code to your website!

Ready to create more targeted campaigns? Check out our Page-Targeting Guide next!


FAQs

Q: What domain do I enter when creating my campaign?

A: When creating your campaign you can add the domain *.3dcart.com for your campaign to load on. This wildcard sub-domain will allow you to view the campaign when previewing your site.

If your site uses a custom domain, you should also add your site’s custom domain (the domain used to reach the front-end of your site) in the Setup > Optin Campaign Website section of the campaign Builder.

You can control which domains your campaign is allowed to load on by adding them to the Optin Campaign Website field.


Q: I have questions about how the Embed Code works.

A: If you have any questions, such as:

  • What domain do I enter when creating my campaign?
  • What’s the difference between the Sitewide and Campaign Specific embed codes?
  • I’m using the Sitewide Embed, how do I control where my campaigns load?
  • I’m using the Sitewide Embed, how do I control where on the page my After Post / Inline or Sidebar campaigns appear?
  • Does the embed code have to be pasted before the closing </body> tag?
  • How do Afterpost and Inline Campaigns work with Embed Codes?

All of the questions above are answered on our main Embed Documentation available here.