Get Radar up and running with custom branding for your customers.
cdn.snitcher.com
radar.snitcher.com
Configure CDN Proxy (cdn.your-app.com)
radar.js
script from your domain, building trust and improving reliability.1. Create CloudFront Distribution
cdn.snitcher.com
HTTPS only
Redirect HTTP to HTTPS
GET, HEAD, OPTIONS
CachingOptimized
(the default).cdn.your-app.com
.d12345abcdef.cloudfront.net
) for the next step.2. Add CNAME Record in Your DNS
CNAME
record pointing your branded subdomain to CloudFront.CNAME
cdn
(or cdn.your-app
, depending on your provider)3. Verify the Setup
403 Forbidden
response confirms the proxy is correctly pointed at Radar’s CDN but is blocking direct listing, which is expected.Configure API Proxy (api.your-app.com)
1. Create CloudFront Distribution
radar.snitcher.com
HTTPS only
Redirect HTTP to HTTPS
GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
CachingDisabled
(managed policy). This is critical to ensure all API requests pass through to Radar without being cached.AllViewerExceptHostHeader
(managed policy). This ensures headers, cookies, and query strings are forwarded to the Radar API.api.your-app.com
2. Add CNAME Record in Your DNS
CNAME
record in your DNS settings:CNAME
api
(or api.your-app
)3. Verify the Setup
curl
command to verify the API proxy. The server should respond, confirming the connection is live.Generate a Tracking Script
POST
request to the Generate a Tracking Script endpoint.Include an internal_identifier
that maps to the customer’s ID in your own system. This identifier will be included in every webhook event, making it easy to associate data with the correct customer account.tracking_script_id
for this customer.Provide the Loader Script
tracking_script_id
you just generated.cdn
: (Required) Your custom CDN proxy domain (e.g., cdn.your-app.com
).apiEndpoint
: (Required) Your custom API proxy domain (e.g., api.your-app.com
).profileId
: (Required) The unique tracking_script_id
generated for the customer.namespace
: (Required) The name of the global JavaScript object your customers will use to interact with the tracker (e.g., YourAppName
). This allows them to call functions like YourAppName.track("Custom Event")
. We recommend using a single, consistent namespace across your entire customer base. This simplifies your own documentation, as you can always instruct your customers to use the same object name. It also prevents conflicts with other scripts on your customer’s site.Verify Installation & Receive Events
<head>
section of their website. Once the script is live, Radar will immediately begin to capture events.You can verify the installation is working by checking your configured webhook endpoint for incoming data.