Skip to main content
Vue.js itself runs in the browser, so the proxy must be configured by the server, edge platform, or reverse proxy serving your Vue application.
1

Use same-origin paths

Configure your hosting layer to forward:
Request flow
The exact configuration depends on your hosting provider.
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
Last modified on October 12, 2026