Skip to main content

Add Trfyx to your Bolt application

Use Bolt to add Trfyx to the application’s shared layout so it works across the site. The tracking script URL should be visible and explicit in the generated implementation: https://app.trfyx.com/script.js.

1. Prepare your tracking values

Use your Trfyx Website ID and the domain you want to measure. The reference HTML snippet is:
Replace YOUR_TRFYX_PROJECT_ID with your Trfyx Website ID and yourdomain.com with the domain you want to track. Do not change the script URL or reuse another project’s Website ID.

2. Ask Bolt to install Trfyx

Paste this prompt into Bolt:
Review the generated code and make sure it uses the real script URL and the correct project values before deploying.

3. Deploy and verify

  1. Test the Bolt preview to catch implementation errors.
  2. Deploy the application.
  3. Open the deployed URL and visit several routes.
  4. Check app.trfyx.com for new activity in the correct project.

Troubleshooting

If only the landing page is tracked, move the tracker into the application’s root layout or shared document. If no data appears, verify the Website ID and domain, inspect browser network requests, and check for CSP or consent restrictions. Make sure the tracker has not been installed both manually and through another integration.
Last modified on October 11, 2026