Skip to main content
Destinations

Custom HTTP destination

Overview

Custom HTTP destinations POST JSON to your internal automation, enrichment services, or niche SaaS tools. You control headers, exponential backoff, and optional HMAC signing for authenticity.

Steps

  1. Choose Destinations → HTTP → Custom and set the base URL plus auth header template.
  2. Define the JSON template with mustache-style placeholders pulling from the normalized event.
{
  "type": "tracklayer.forward",
  "user": "{{ userId }}",
  "event": "{{ event }}",
  "props": {{ propertiesJson }}
}
  1. Optional: enable HMAC-SHA256 with a shared secret; TrackLayer adds X-TrackLayer-Signature and X-TrackLayer-Timestamp.
  2. Dry-run a sandbox event and inspect your receiver logs for schema fit.

Troubleshooting

  • 429 / backoff: Tune concurrency; TrackLayer honors Retry-After when present.
  • TLS failures: upload your custom CA if terminating TLS on-prem.
  • Large payloads: slim templates—attach deep objects only when the downstream API requires them.

Still need help?

Reach the team for onboarding, technical escalation, and privacy workflows.

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.