# CallTrackingMetrics Integration

> Connect CallTrackingMetrics to Ours Privacy to collect call, SMS, and form events using webhooks and trigger workflows.

Source: https://docs.oursprivacy.com/docs/call-tracking-metrics

Connect [CallTrackingMetrics](https://www.calltrackingmetrics.com/) to Ours Privacy to collect call, SMS, and form events.

## Create a source in Ours Privacy

1. Open [Sources](https://app.oursprivacy.com/sources) and create a **CallTrackingMetrics** source.
2. Copy the source's **Webhook URL**.

## Create a webhook in CallTrackingMetrics

Create and save the webhook before adding it to a trigger workflow. The workflow's **Run Webhook** action selects an existing webhook.

1. In CallTrackingMetrics, go to **Flows → Automation → Webhooks** and select **New Webhook**.
2. Name the webhook, for example **Ours Privacy Webhook**.
3. Under **Trigger**, choose **Through a trigger \[route]** to use a trigger workflow, or choose the event that should send data directly, such as the end of a call. Select **Save Changes**.
4. In **Connection**, paste the Ours Privacy Webhook URL into **Callback URL**.
5. Set **Request Body Type** to **Log Data** and select **Save Changes**.

This example shows a webhook configured to send data at the end of a call, form, or chat:

![CallTrackingMetrics webhook settings with an end-of-call trigger, an Ours Privacy callback URL, and Log Data selected.](https://docs.oursprivacy.com/img/call-tracking-metrics/call-tracking-metrics-img-1.png)

## Add the webhook to a trigger workflow

If you chose **Through a trigger \[route]**, attach the saved webhook to the workflow that should send events to Ours Privacy.

1. Go to **Flows → Triggers** and open or create the trigger for your event.
2. Open **Workflows** and add or edit a workflow with the conditions you need.
3. Add a **Run Webhook** action.
4. In the **Select webhook** dropdown, choose the webhook you saved, such as **Ours Privacy Webhook**.
5. Select **Save Changes**.

For more options, see CallTrackingMetrics' [webhook setup guide](https://calltrackingmetrics.zendesk.com/hc/en-us/articles/6021057338125-Webhooks-API-Integration) and [trigger guide](https://calltrackingmetrics.zendesk.com/hc/en-us/articles/6517103918221-Triggers).

## Next Steps

* [Map event fields](https://docs.oursprivacy.com/docs/data-mapping) to Ours Privacy attributes. Use **Preview Data** in your source to view the latest events received from CallTrackingMetrics.
* [Manage your sources](https://docs.oursprivacy.com/docs/sources-overview).

For further assistance, contact [support@oursprivacy.com](mailto:support@oursprivacy.com).
