Serve the Oraami tracker with Fastly Compute

Serve the public browser script from your own asset hostname. Oraami continues to receive consent configuration requests and event uploads directly.

Updated Oraami Inc

Get the configuration

This handler reads the current public Oraami tracker from the hosted collector.

Set up the asset route

  1. Create or select a Fastly JavaScript Compute project. Use the downloaded code as the JavaScript entry or include its exact route in your existing handler.
  2. Add a static backend named oraami_tracker. Set its hostname, override Host, TLS SNI and TLS certificate hostname to collect.oraami.com. Use HTTPS port 443. Build and publish the Compute service, then associate your asset domain.

Use the asset on your website

In the existing Oraami installation snippet, change only the script src to the new HTTPS asset URL. Preserve data-collector, the public site key, consent and other selected attributes. Allow your asset origin in script-src and the original collector in connect-src.

node tracker-asset.mjs verify https://YOUR_ASSET_HOST/oraami-tracker.js

Confirm the visit and keep the file current

On the registered website, check that the browser loads the script and retrieves its site configuration. Grant analytics consent, browse and check the saved batch in Capture health. If a byte comparison fails for a static origin, refresh the source file and revalidate the cached copy.

Related guides