Optimads/Info
Enter the app

WooCommerce.

A read-only WooCommerce key brings in the real orders, and the Optimads plugin for WordPress adds the code to every page and reports each order right away.

≈ 8 min Updated Oct. 15, 2026
What you need
  • Admin access to WordPress, with WooCommerce installed.
  • The Meta pixel selected in Optimads, under Connections. TikTok is optional.
The order matters. Connect your store first, then download the plugin. A plugin downloaded before that doesn’t have your store’s key and has to be downloaded again.

1. Connect your store

  1. Create a new key

    In WordPress: WooCommerce → Settings → Advanced → REST API, then Add key.

  2. Fill it in

    Description: Optimads. Permissions: Read. Press Generate API key.

  3. Copy the keys

    Consumer Key (starts with ck_) and Consumer Secret (starts with cs_). WooCommerce shows them only once.

  4. Connect in Optimads

    In Tracking → Setup → Store installation, WordPress / WooCommerce tab, press “Connect WooCommerce”. Fill in your store address and the two keys, then press “Connect the store”.

The key is read-only: we don’t change anything in your store.

If you don’t install the Optimads plugin, choose Permissions: Read/Write: that way your store also sends us cancellations. With Read and no plugin, only orders come through. Even with Read/Write, we don’t change any orders or products in your store.

2. Install the plugin

  1. Download the plugin

    On the same tab, press “Download plugin”. You get a zip file prepared for your account.

  2. Upload it to WordPress

    Plugins → Add New → Upload Plugin, choose the file, then Install Now and Activate.

  3. Done

    You see the status in WordPress under Settings → Optimads, and the events in Optimads, under Tracking → Activity.

What the plugin does

Adds the code to every pageAnd keeps it up to date: when you change the pixel in Optimads, your website picks it up on its own.
Sends your store’s eventsViewContent, AddToCart, InitiateCheckout and Purchase.
Saves the ad click on the orderThat’s how we link each order to the ad that brought it.
Reports orders right awayEvery new order or status change reaches us immediately.
Updates itselfYou can turn off automatic updates in Settings → Optimads.

3. Turn off the old setup

Deactivate the plugins that add the Meta or TikTok pixel (for example PixelYourSite). If you use Facebook for WooCommerce for your catalog, turn off only its pixel and Conversions API. In Meta Events Manager, turn off Tracking without code. Details: Old pixels and duplicates.

Without the plugin

You can add the code by hand: on the same tab, open “Manual install, without the plugin (code in <head>)”, press “Copy code (head)” and paste it before </head>, for example with the WPCode plugin. It catches ViewContent, AddToCart and InitiateCheckout, and orders come from your connected store. The ad click is no longer saved on the order, which is why we recommend the plugin.

Common problems

“The store rejected the keys”

Check that you copied both keys in full and that the permission is Read. If it still doesn’t work, create a new key.

“Can’t access the store”

Check the address (with https://). Then, in WordPress, under Settings → Permalinks, choose any option except Plain. A security plugin (for example Wordfence) can also block the /wp-json/ address.

The plugin says it isn’t configured

You downloaded it before connecting your store. Connect the store, download the plugin again and upload it over the old one.

Stuck?Send us your website address and the step you're on. We'll help you.
contact@optimads.ai