JS Proxy API
This is a simple proxy to add CORS headers to JavaScript URLs for use in Partytown.
Prerequisites
All you need to use this API is a free Builder account
Usage
You can use this in your Partytown configuration to automatically proxy all scripts to not run into CORS issues (including scripts requested by other scripts, such as via tag manages like Google Tag Manager).
Learn more about proxying in Partytown, configuring Partytown, or integrating Partytown.
Sample Request
Supported Query Params
Name | Required | Description |
---|---|---|
apiKey | Yes | Your Builder public API key (from your settings page) |
url | Yes | The full URL to a JS file to proxy |