1
Use same-origin paths
Configure your hosting layer to forward:The exact configuration depends on your hosting provider.
Request flow
2
Update your tracker
Replace the default Trfyx script with the proxied path:
index.html
3
Verify installation
Open the production Vue application and check the Network requests. Both the script and events should use your website hostname.
If your Vue site is static and you do not have a server or edge layer, use Managed Proxy instead of trying to implement the proxy inside Vue.
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