Skip to content

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
  1. 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.

  2. 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.

  3. 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

The prompt

With your own site key in place of the example.

Prompt for Lovable
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.

TypeScript
// 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.