Add Trfyx to your Lovable website
Ask Lovable to add the Trfyx tracker to your app’s shared layout or document head. The tracker must load once across the site, not separately inside each page.1. Get the Trfyx tracking values
Use your Trfyx Website ID and the domain you want to measure. The tracking script URL is:https://app.trfyx.com/script.js
This is the reference snippet Lovable should implement, adapted to your project’s framework:
2. Ask Lovable to install Trfyx
Paste this prompt into your Lovable project:3. Publish and verify
- Publish the site.
- Open the public URL in a normal browser tab.
- Visit the homepage and several additional routes.
- Open app.trfyx.com and check that activity appears in the correct Trfyx project.