Setup a Reverse Proxy
Last updated
Last updated
Tracking via a Reverse Proxy helps you send events using your own domain. As a result you are less likely to be intercepted by tracking blockers and be able to track more usage data.
Please use at least version 1.6.0
of @spindl-xyz/attribution
or @spindl-xyz/attribution-lite
for this.
What happens under the hood that we forward the data to Spindl servers via a Reverse Proxy domain:
Here are several easy ways to implement this. Here are a few simple tutorials:
Netlify (if you're using them as a hosting provider)
You can also use other services that support Reverse Proxies. Here are a a few popular hosting providers and their documentation:
Amazon Web Services: API Gateway
Microsoft Azure: API Management
Google Cloud: API Gateway