Facebook and Instagram ads for a Lovable (or any AI-built) app
Facebook and Instagram ads can bring paying customers to an app you built yourself, if three things line up: the ad, the first screen people see, and an easy way to pay on a phone. Most people who tap your ad are still inside the Facebook or Instagram app, so build for them.
A first test costs a few hundred dollars. Judge it on whether people click and move through your app, not only on purchases.
Before you spend: add Facebook's tracking code
Facebook needs to know when someone from your ad signs up or pays, so it can show your ads to more people like them and tell you which ads worked. The Meta Pixel does this: a small tracking code from Facebook that goes in your app.
In Lovable, the Advertise flow connects your Facebook account, then has you pick an ad account, a Facebook Page and a Pixel (or makes one for you). You still add a payment card in Meta Ads Manager and publish the Page. Lovable can also send sales to Facebook from its own server. In Base44 or Bolt, ask the AI chat to add the Pixel.
Tell Facebook about four moments, using its own names:
- ViewContent: saw your first screen
- Lead or CompleteRegistration: answered your questions or gave an email
- InitiateCheckout: opened the payment page
- Purchase: paid, with the amount
Make the first screen match the ad
People who tap an ad decide almost instantly whether they're in the right place. In FunnelFox's 2026 report (FunnelFox sells software for this), only 13% of web visitors reached the price and 3% bought. Most people left before they saw a price.
Give each ad its own first screen. If the ad says 'Snap your fridge, get three dinners', the first screen says the same thing, shows the same kind of picture, and has one button: Take a photo. A general home page breaks that promise.
Before writing ads, search the Meta Ad Library for apps like yours. It shows when each ad started, so you can see which ideas have kept running.
Make paying work inside Instagram
Facebook and Instagram open links inside their own app, not in your phone's browser. Google blocks its sign-in there. Stripe lists Link, PayPal, Klarna and Amazon Pay as not working there, and Apple Pay on iPhone works only in some cases. On 15 November 2026, even Lovable's own home page warned Instagram visitors that login can fail there. To avoid losing buyers:
- Let visitors get a result before any sign-in.
- When you need an account, offer email or a one-time code next to Google.
- Always show a plain card form under the quick-pay buttons.
- Open your link from inside Instagram and Facebook on an iPhone and an Android phone, and finish a test purchase on each.
How much to spend, and what to aim for
Facebook says an ad set usually needs about 50 results in a week to learn who to show it to, and big edits restart that learning. At $20 a day ($140 a week), you'd only reach 50 purchases if each cost under about $2.80, which is unlikely for a new app.
So with a small budget, tell Facebook to aim for something that happens more often, such as visits to your page or finished questions, and count purchases yourself. For rough scale, WordStream's 2026 averages from more than 1,800 mostly small-business campaigns: ads set up for visits got 1.93% of viewers to click, at $0.60 per click. If a sign-up costs you about $5 and 4% of sign-ups pay, $50 brings about 0.4 paying customers.
What to watch in your first test
| Step | What to watch | Where to see it |
|---|---|---|
| The ad | How many people click, cost per click | Meta Ads Manager |
| First screen | How many tap the first button | Your app's stats |
| Questions or first result | How many finish | Your app's stats |
| Price | How many see it and start paying | Your app's stats |
| Payment | Purchases, cost per purchase | Stripe or Paddle |
Run it in small rounds
Change one thing per round, and give each ad you're comparing a few dozen clicks before you decide. Foundation finds your first paying customers: it makes the ads and the page people land on, and shows which ads brought buyers. It's waitlist-only right now.
Questions
How much should I spend on my first Facebook ad test?
A few hundred dollars, split into rounds, is enough to compare ads and see where people drop off. It's rarely enough to judge purchases, because Facebook needs about 50 results a week per ad set to learn.
Why can't Instagram visitors sign in to my app?
Instagram and Facebook open links inside their own app, and Google blocks its sign-in there. Offer email or one-time-code sign-in, and let people try the app first.
Is the Meta Pixel enough, or do I need the Conversions API too?
The Pixel works on its own. The Conversions API sends sales to Facebook from your server, which Meta says helps it show and measure your ads. Lovable's ad setup can add it for you.
Can my ad ask 'Struggling with anxiety?' or 'In debt?'
No. Facebook's ad rules ban copy that says or hints at personal traits such as health, money trouble, age or religion. Instead of 'Drowning in debt?', say what the app does: 'A budget planner that sorts your bills in one tap.'
Sources
- Lovable docs: Advertise your app
- Base44 docs: Viewing and customizing your app analytics (adding the Meta Pixel)
- Meta for Developers: Conversions API
- Meta for Developers: Meta Pixel reference (standard events)
- Meta Business Help Center: About the learning phase
- Meta Transparency Center: Privacy violations and personal attributes
- Meta Ad Library
- The Register: Facebook's in-app browser and Android WebView (2022)
- Google for Developers: OAuth changes for embedded webviews (2021)
- Stripe docs: Express Checkout Element (in-app webview support)
- Lovable landing page (Instagram browser notice observed 15 November 2026)
- FunnelFox: State of Web2App 2026
- WordStream: Facebook Ads Benchmarks 2026