Custom Cookie Capture

If you are using a third-party tool to track visitors via cookies, you can use this integration to associate visitor data with phone calls to your CallRail numbers. Simply enter the cookie names you'd like to capture, and CallRail will pass the custom cookie to your third-party system in a webhook.

Getting Started

In the webhook POST body, there will be a  custom object that will have key value pairs of all the custom cookies:

"custom": {"_ga": "abc", "_km_ai": "def" }

Visitor tracking via a website pool is necessary to utilize custom cookie captures. For more information on this, please see this help article.

Your custom cookie captures are company-dependent within your account. Follow the instructions below in each company where you'd like to track your visitor's third-party cookies.

  1. Click Analytics in the navigation bar on the left.

  2. Click Settings at the top of the page.

  3. Choose the company where you'd like to create a custom cookie capture.

  4. Select All Integrations from the Integrations menu on the left.

  5. Choose Custom Cookie Capture from the list of available integrations.

  6. Specify a list of cookie names to target and click Save. When a customer visits your website, that cookie will be stored with their CallRail visitor details. If they later place a phone call to one of your numbers, the specified cookies will be reported alongside the call information in your Webhook Integration.

  7. Select Save when finished.

Disabling Cookie Capture Integration

Disabling a company's cookie capture integration will prevent your third-party cookie details from appearing in CallRail. We'll keep your cookie names saved in case you'd like to re-activate your integration in the future.

  1. Click Analytics in the navigation bar on the left.

  2. Click Settings at the top of the page.

  3. Choose the company whose custom cookie capture you'd like to disable.

  4. Select All Integrations from the Integrations menu on the left.

  5. Choose Custom Cookie Capture from the list of integrations.

  6. Select Disable Integration on the right side of the page.

  7. Click Disable to turn off your integration.