Lovable
Add Humblytics to your Lovable app in about 3 minutes.
1. Copy your tracking code
In Humblytics, open Site settings → Install and click Copy tracking code. Adding a new site? The code appears in step 2 of Add Site.
2. Add it to your Lovable project
Lovable apps have one index.html, so adding the script there tracks every page.
Option A: Ask Lovable (easiest). Send this in your project chat, with your snippet pasted in:
Add this tracking code to the <head> of index.html, exactly as written:
[paste your Humblytics snippet here]Option B: Edit the code yourself. Open the Code view, open index.html, and paste the snippet just before </head>.
ADD GIF HERE
3. Publish and verify
Click Publish (or Update if the site is already live).
Back in Humblytics, click Verify install.
Open your published site in a private window and click around. Your visit appears in Observe → Analytics → Overview under Live Activity within about a minute.
Not verifying? Test the published URL (yourapp.lovable.app or your custom domain), and make sure it matches the domain in Humblytics.
Still stuck? See Verify & Troubleshoot Tracking.
Last updated