app.trfyx.com.
This can improve collection reliability when browser extensions, network filters, or ad blockers block known analytics domains.
A proxy is optional. Install the standard Trfyx tracker first, then add a proxy when you are ready for production traffic or want a first-party collection path.
Choose your setup
Managed Proxy
Use Managed Proxy when you want the simplest setup. Trfyx provides the proxy routing and SSL; you configure a subdomain and one DNS record, then point your tracker at that hostname.Set up Managed Proxy
Route Trfyx through your own subdomain without running proxy code.
Self-hosted proxy
Use a self-hosted proxy when your application already has a reverse proxy, server middleware, or edge configuration that can forward Trfyx requests. Choose the guide that matches your stack:Next.js
Express
PHP
FastAPI
Flask
Vue.js
Astro
Laravel
Nginx
Caddy
Firebase Hosting
DigitalOcean
What should be proxied?
A working proxy needs to forward both:- The Trfyx browser script.
- The event collection endpoint.
Verify installation
1
Open your production website
Load a live page on your site.
2
Check the network panel
Open Developer Tools → Network and reload the page.
3
Confirm the script loads through your domain
Check that
script.js is requested from your domain rather than app.trfyx.com.4
Trigger and confirm an event
Fire a pageview or tracked event and confirm the request also goes through your proxy.
5
Check Trfyx for the activity
Verify the new visit or event appears in your Trfyx dashboard.
Next steps
Goals
Define the actions that matter to your business.
Troubleshooting
Diagnose missing or unexpected data.