Last updated • 23 November 2026

How to Set Up ChatGPT Ads Conversion Tracking on Lovable

Send every conversion on your Lovable site to ChatGPT Ads with PixelFlow's server-side tracking. Lovable's agent does the setup for you.

Lovable
+
ChatGPT Ads
Lovable
+
ChatGPT Ads
Lovable
+
ChatGPT Ads

Option 1: Setup with your AI Agent using PixelFlow MCP

Lovable's agent can do the whole setup once PixelFlow is connected as an MCP server. It's the simplest way to send ChatGPT Ads conversions from your Lovable website.

Option 2: Set up manually using PixelFlow

Step 1: Add PixelFlow to Lovable as an MCP server

Follow these steps once, in order.

  1. Start in PixelFlow: Create an account (7 day free trial) and begin adding your site until you reach Choose set up option


  2. Pick Lovable: Choose Set up with your AI agent, click Connect AI and select Lovable


  3. Open Connectors in Lovable: Click + and choose MCP server


  4. Add the server: Name it PixelFlow, paste https://api.pixelflow.so/mcp, keep authentication on OAuth, then click Add & authorize and Allow


  5. Allow the tools: Turn on Always allow all tools from this connection


  6. Finish in Lovable: Click Next in PixelFlow. The agent adds the snippet and gives you a one-time PixelFlow link to connect ChatGPT Ads

    • Open the link and choose ChatGPT Ads

    • Paste your Pixel ID and Conversion key from ads.openai.com > Conversions

Publish the update. Your live Lovable site only loads the PixelFlow snippet after you publish.

Step 2: Add more conversion events

PixelFlow tracks PageViews once your Lovable site is published with the snippet. For forms, button clicks, page loads or tools like Stripe and Calendly, use any of these options:

  1. Click Track More events

  1. Choose the event name you want ChatGPT Ads to count, like Purchase, Lead or Schedule

  1. Choose how to trigger it and follow the steps for a form, a button or a 3rd party tool

Pick the trigger that suits each conversion:

Visual Tagger: click the buttons, links and forms on your Lovable site that should count as conversions.

URL triggers: count a conversion when someone lands on a specific page.

3rd party integrations: connect Stripe, Calendly and similar tools in PixelFlow so their payments and bookings reach ChatGPT Ads too.

Set up with AI: connect Claude, ChatGPT or Cursor over MCP and ask it to set up these events.

Step 3: Clear out the old ChatGPT Ads code

If OpenAI's ChatGPT Ads Measurement Pixel is already on your Lovable project, remove it so conversions aren't counted twice.

  1. Ask Lovable to find and remove any ChatGPT Ads Measurement Pixel code (search for oaiq or bzrcdn.openai.com), often in index.html.


  2. Publish your Lovable project so the change goes live.


  3. Open your live site, view the page source and check that oaiq no longer appears.

Every ad platform from one script

ChatGPT Ads is just one destination. The same script can send your conversions to Meta, TikTok, Snapchat, Pinterest and Reddit, with no extra code.

FAQ

ChatGPT Ads tracking on Lovable: FAQ

ChatGPT Ads tracking on Lovable: FAQ

Have another question? Reach out and we'll sort it out with you.

No. PixelFlow sends your ChatGPT Ads conversions server-side, so a second copy of the Measurement Pixel would count every event twice.

A Pixel ID and a Conversion key, both from the Conversions section of Ads Manager at ads.openai.com. PixelFlow checks them before saving.

No. Keys never go through the chat. The agent gives you a one-time PixelFlow link where you paste the Pixel ID and Conversion key yourself.

Use Pixel Test Mode in PixelFlow to verify your setup. It turns off by itself after 30 minutes, and the Event Logs show every event sent to OpenAI.

Yes. The same setup can also send events to Meta, TikTok, Snapchat, Pinterest and Reddit. Connect each platform in PixelFlow.

Smarter, server-side tracking

Start sending accurate conversions today - no tag manager, no code, no developer required.

Compatible with

  • GoHighLevel logo
  • Kajabi logo
  • Stripe logo