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.
Start in PixelFlow: Create an account (7 day free trial) and begin adding your site until you reach Choose set up option
Pick Lovable: Choose Set up with your AI agent, click Connect AI and select Lovable
Open Connectors in Lovable: Click + and choose MCP server
Add the server: Name it PixelFlow, paste https://api.pixelflow.so/mcp, keep authentication on OAuth, then click Add & authorize and Allow
Allow the tools: Turn on Always allow all tools from this connection
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:
Click Track More events
Choose the event name you want ChatGPT Ads to count, like Purchase, Lead or Schedule
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.
Ask Lovable to find and remove any ChatGPT Ads Measurement Pixel code (search for oaiq or bzrcdn.openai.com), often in index.html.
Publish your Lovable project so the change goes live.
Open your live site, view the page source and check that oaiq no longer appears.
ChatGPT Ads is just one destination. The same script can send your conversions to Meta, TikTok, Snapchat, Pinterest and Reddit, with no extra code.

Smarter, server-side tracking
Start sending accurate conversions today - no tag manager, no code, no developer required.
Compatible with



