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.
Set up Custom Cookie Capture
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.
- Click the Settings icon on the left navigation bar.
- Choose the company where you'd like to create a custom cookie capture.
- Click Integrations at the top of the page.
- Choose Custom Cookie Capture from the list of integrations.
- 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 Webhooks Integration.
- Select Save when finished.
Deactivating Cookie Capture integration
Deactivating 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 reactivate your integration in the future.
- Click the Settings icon on the left navigation bar.
- Choose the company where you'd like to deactivate the custom cookie capture.
- Click Integrations at the top of the page.
- Choose Custom Cookie Capture from the list of integrations.
- Select Deactivate Integration on the right side of the page.