How to Integrate OptinMonster with WooCommerce

OptinMonster can work with any website and makes it easy to use with WooCommerce.

In this article, you’ll learn how to integrate OptinMonster with WooCommerce.

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)
Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE! Click here to get started →

Before You Start

Here are some things to know before you begin:

Integrate with WooCommerce

OptinMonster makes it easy to integrate with WooCommerce for more advanced ecommerce targeting options.

To integrate with your WooCommerce site, follow these steps:

  1. In the WordPress admin navigate to the OptinMonster > Settings screen.
    OptinMonster plugin Settings page.
  2. Next, select the Auto-Generate Keys + Connect WooCommerce button.
    Connect WooCommerce to the OptinMonster plugin.
  3. WooCommerce will automatically generate Keys and connect with OptinMonster. You should see a success message like this:
    WooCommerce successfully connected to OptinMonster notice.

Targeting Options

Once you’ve connected WooCommerce with OptinMonster you’ll have additional options available through the OptinMonster plugin and in the campaign builder’s Display Rules.

You can use these additional options to hide or show campaigns based on WooCommerce-specific conditions.

Plugin Output Settings

The following options are available through the Output Settings in the OptinMonster plugin:

  • Show on all WooCommerce Products
  • Show on WooCommerce Pages
    • Single Product
    • Cart
    • Checkout Page
    • Customer Account Page
    • Show on all WooCommerce Endpoints
    • Order Pay Endpoint
    • Order Received Endpoint
    • View Order Endpoint
    • Edit Account Endpoint
    • Edit Address Endpoint
    • Lost Password Endpoint
    • Logout Endpoint
    • Add Payment Method Endpoint
  • Show on WooCommerce Product Categories (dropdown option)
  • Show on WooCommerce Product Tags (checkbox option)
Campaign Builder Display Rules

The following Display Rules are available through the campaign builder:

  • WooCommerce Product Targeting
    Show if your visitor is viewing a specific product
  • WooCommerce Product Category Targeting
    Show if your visitor is viewing a specific product category
  • WooCommerce Product Tag Targeting
    Show if your visitor is viewing a specific product tag archive
  • # of Items in WooCommerce Cart
    Show if your visitor has a specific number of items in their cart
  • WooCommerce Cart Total
    Show based on the total cost of the items in your visitor’s cart
  • WooCommerce Cart Subtotal
    Show based on the subtotal cost of the items in your visitor’s cart
  • WooCommerce Cart Contains
    Show if your visitor has specific products in their cart
  • WooCommerce Cart Does Not Contain
    Show if your visitor does not have specific products in their cart

Troubleshooting

How can I manually connect WooCommerce with OptinMonster?

You can manually generate your own Keys in WooCommerce following these steps:

  1. In the WordPress admin navigate to the WooCommerce > Settings > Advanced > Rest API screen.
  2. Select the Add key button.
    WooCommerce Add Key
  3. Give the Key an identifiable description, we recommend “OptinMonster”, then select the Generate Key button.
    Generate API Key in WooCommerceYou’ll be provided a Consumer key and Consumer secret to add to OptinMonster.
  4. Next, navigate to the OptinMonster > Settings screen in a new tab and select the click here text link below the Auto-Generate Keys[…] button.
    Connect WooCommerce to the OptinMonster plugin.
  5. Enter the Consumer Key and Consumer Secret you were provided in step 3 and select the Connect WooCommerce button.
    Manually connect OptinMonster to WooCommerce.
  6. Once connceted you should see a success message like this:
    WooCommerce successfully connected to OptinMonster notice.

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)
Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE! Click here to get started →