Optimads/Info
Enter the app

MerchantPro.

You create an API user in MerchantPro and give it to us. We add the tracking script to your store, and we read the real orders through the API.

≈ 6 min Updated Oct. 15, 2026
What you need
  • Admin access to MerchantPro.
  • The Meta pixel selected in Optimads, under Connections. TikTok is optional.

1. The API user

  1. Add an API user

    In MerchantPro: Settings → API and webhooks, under API users, press Add API user. Name: Optimads.

  2. Give it permissions

    AreaPermissionWhy
    OrdersRead onlyWe read the real orders.
    WebsiteRead and writeWe add the tracking script ourselves.
    CatalogRead onlyOptional: product costs in your profit.

    Everything else stays without access.

  3. Copy the keys

    API User and API Secret.

  4. Connect in Optimads

    In Tracking → Setup → Store installation, MerchantPro tab, fill in your store address, the API User and the API Secret.

    Store address = the domain your customers see, not the address of the admin panel.

2. The script in your store

We add it automatically, named Optimads Tracking, in Website → Custom scripts. You don’t have to do anything.

Optimads says it isn’t allowed to add the script

On the API user, set Website to “Read and write” and save. Then press “Add automatically” in Optimads.

I want to add it by hand

Copy the code from the MerchantPro tab. In MerchantPro: Website → Custom scripts → Add script, choose “Inline javascript/HTML snippet”, Location: Header, Site pages: All.

3. Orders right away (optional)

Without this step, orders still come in, within a few minutes. With webhooks, they arrive immediately.

  1. Open Webhooks

    Settings → API and webhooks → Webhooks → Add webhook.

  2. One per event

    Add one webhook for each of these: order.created, order.payment_completed, order.shipping_cancelled. Copy the address from the MerchantPro tab in Optimads (it’s personal, for your store).

4. Turn off the MerchantPro pixels

Apps → Facebook Pixel and TikTok Pixel: deactivate them. They send the same sales with different codes, and Meta and TikTok would count them twice.

In Meta Events Manager, also turn off Tracking without code. Details: Old pixels and duplicates.

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