Add Trfyx to your Replit project
Use Replit Agent to install Trfyx in the shared application shell, then verify the integration on the deployed site. The script URL should be included explicitly in the generated code:https://app.trfyx.com/script.js.
1. Prepare the tracking snippet
Use your Trfyx Website ID and the domain you want to measure:2. Ask Replit Agent to add tracking
Open Replit Agent and use a prompt similar to this:3. Run, deploy, and verify
- Use Replit’s Run action to check for errors.
- Deploy the application through your normal Replit deployment flow.
- Open the public URL and visit several pages or routes.
- Open browser Developer Tools and confirm the Trfyx script and tracking requests load.
- Check app.trfyx.com for incoming activity.