Skip to main content

CDP settings: tracking, API keys, workspace and webhooks

Every CDP setting explained — the tracking script and site profile, the keys for developers, the workspace page, and webhooks that send CDP events to your own systems.

M
Monfri Team
Updated ·4 min read

CDP's settings are under Configure → Settings, in three tabs: Tracking & SDK, API keys and Workspace. Webhooks have their own page under Activate → Webhooks. Changing keys, integrations and webhooks needs the CDP Admin role; owners and admins of the workspace have it.

Tracking & SDK

Your site's domain and type, the tracking script, the check that it works, and the Advanced tracking configuration — consent, cookies across subdomains, which reading events are sent. Everything is explained in Sites in CDP: the domains that send you data and Consent and cookies on your site.

API keys

Keys let other systems talk to CDP. You need them only when a developer connects something; the Monfri services talk to each other without them.

API keys — click Create key; in the window give it a Name (for example Production SDK) and a Type, then Create key:

  • Write (SDK tracking) — sends events in, like the key inside your tracking script;
  • Read (API access) — reads data out.

External API keys — for a named outside system, with exactly what it may do. Click Create external key, enter a Name, a Description (optional) and the Scopes: Profiles (read), Events (read), Segments (read), Analytics (read), Webhooks (manage). Choose at least one — Select at least one scope.

A new key is shown once, above the list — Copy it straight away, then click I've copied the key. To stop a key, open the ⋯ menu on its row and choose Revoke…; the window asks once more — Revoke key. Everything using it stops at once and it cannot be undone, so create the replacement first.

Workspace

General shows the Workspace name — Edit changes it, Save keeps it — the Workspace ID, the Slug and the Plan. Members lists who has CDP access; people are invited, changed and removed in Monfri Hub — Manage in Monfri Hub. See What each person can open: service access. A change applies the next time the person opens CDP.

Delete the workspace at the bottom leads to the Hub — Open workspace settings in Monfri Hub: a workspace is deleted there, for every service at once, with 30 days to restore it or export its data — see Cancel, export everything, delete a workspace or your account.

Webhooks

A webhook sends CDP events to an address of yours the moment they happen — for example to your own system or an outside tool. Open Activate → Webhooks and click Create webhook. In the window:

  1. Enter a Name and the Endpoint URL — an https:// address of your system.
  2. Under Subscribed events, choose among the System events — all events, an event received or processed, a profile created, merged or identified, a segment entered or exited, consent updated, a GDPR export or deletion completed — and your own events, grouped under Your events. Leave it empty to receive all events.
  3. Set Max retries and the Timeout (ms) for a slow receiver, then Create webhook.

Click a webhook to open its panel: the Enabled switch, the Secret — your system uses it to check that a call really comes from Monfri — and Last deliveries, each call with its result. Send a test sends one call now and shows the answer; Edit and Delete are there too, and in the ⋯ menu of the row. Deleting asks once more. A recipe's webhooks are named Recipe: …; when a recipe was switched on again its earlier ones are off and hidden — Previous versions shows them. The address of a recipe webhook shows only its first characters: the rest is its key. Only an owner or admin of the workspace sees the webhooks; anyone else reads Webhooks are set up by the owner or an admin of this workspace. To start flows in Monfri from CDP events you do not need a webhook — Automation listens to CDP by itself.

If something doesn't work

I cannot create keys or webhooks

Your CDP role is not Admin. Ask an owner or admin of the workspace.

A webhook shows failed deliveries

Your endpoint did not answer in time or answered with an error. Check that the address is reachable from the internet and answers quickly with a success — Send a test in the webhook's panel shows the answer; Monfri retries up to Max retries times.

A system that used a key stopped working

The key was revoked. Create a new key and put it in that system.

Didn't find your answer?

Write to us and tell us what you were trying to do.