Conversion tracking for Lovable apps.
Paste one prompt, publish, and page views start flowing as visitors move between routes. Sign-ups and purchases take one call in your code, which Lovable can write for you.
- Browser pixel free
- Works with React routes
- No republish for changes
- 01
Ask Lovable to add the script
Paste the prompt below with your own site key from the dashboard. Or put the same lines in the head of index.html yourself.
- 02
Publish and add your domain
Add every domain the app runs on to the site in the dashboard, including a custom domain. Events from other domains are ignored.
- 03
Send conversions from code
Sign-ups and checkouts happen in your code, so send them with one call. Lovable can write that too.
Out of the box
What Pixelary doeson a Lovable site
-
Page views between routes
Lovable apps are single-page React apps. Pixelary tracks page views as visitors move between routes, with no reload.
-
Events from your code
Call pixelary("track", …) after a sign-up or a payment. Pass customer data raw, and the script normalizes and hashes it in the browser.
-
Triggers without code
Clicks, forms and page URLs become events from the dashboard, with no new prompt and no republish.
-
Purchases from Stripe
Selling through Stripe? A webhook sends Purchase from the server, even if the customer closes the tab. Paid plans.
-
AI assistants
Connect Pixelary’s MCP server to your coding assistant, ask what failed this week, and fix it next to your code.
-
Your consent banner
In the EEA, the UK and Switzerland, Pixelary waits for the visitor’s consent, so your app needs a cookie banner before you advertise there.
The prompt
With your own site key in place of the example.
Add Pixelary conversion tracking. In index.html, inside <head>, add exactly this, unchanged:
<script>
window.pixelary = window.pixelary || function () {
(window.pixelary.q = window.pixelary.q || []).push(arguments);
};
</script>
<script async src="https://cdn.pixelary.app/s/px_7hq2lm4x.js"></script>
Don't add any other tracking code. A conversion
One call wherever the action succeeds.
// After a successful sign-up, for example
window.pixelary("track", "CompleteRegistration", {}, {
user: { email: form.email },
}); Stop losing conversions you already paid for.
Free browser pixel today. Try server-side free for 14 days when you are ready.