1
Add routes
In
routes/web.php:routes/web.php
2
Update the tracker
Replace the default Trfyx script with the proxied path:
index.html
3
Verify installation
Deploy, reload your production site, and confirm both requests use your domain. Then verify the visit in Trfyx.
If your Laravel application already has
/api/events, choose a different route and set data-api-url to that path.Next steps
Proxy setup
Read the full proxy setup guide
Managed Proxy
Let Trfyx manage the proxy for you
Goals
Start tracking goals with Trfyx
Troubleshooting
Fix common proxy issues