---
title: Send lead source data to Close CRM
description: "**Prerequisite:**🔗[Add the Leadsources script to your website](https://help.leadsources.io/docs/add-leadsources-code/) 🔗[Add hidden fields to your form](https://help.leadsources.io/docs/add-hidden-fields/) We collect leads, alongside lead source data (channel, source, campaign, etc.). Our goal is to **transfer all this data to Close CRM**. This helps us track which…"
url: "https://help.leadsources.io/docs/close-crm/"
updated: "2024-11-29"
category: Connect CRM
---

# Send lead source data to Close CRM

**Prerequisite:**🔗[Add the Leadsources script to your website](https://help.leadsources.io/docs/add-leadsources-code/)
🔗[Add hidden fields to your form](https://help.leadsources.io/docs/add-hidden-fields/)

We collect leads, alongside lead source data (channel, source, campaign, etc.).

Our goal is to **transfer all this data to Close CRM**. This helps us track which leads convert into paying customers and identify the channels, sources, campaigns, etc. driving our sales.

With this insight, you can better allocate your marketing budget by investing in the marketing efforts that generate revenue and cutting out underperforming ads.

We are going to use Zapier to send your leads, alongside their lead source data, to Close CRM.

We will do it in 2 steps:

1. **Create custom fields in Close CRM **that will store the lead source data
2. **Send the lead source data **from your form to Close CRM using Zapier

## Step 1: Create custom fields in Close CRM

****What is a custom field?****
To store the lead source data within each lead in Close CRM, we need to **create custom fields**.
In Close, you currently use fields to populate additional information about your leads (address, name, company, etc.).
With custom fields, we will allow Close to **store the lead source data in each lead**: channel, source, campaign, term, content, landing page, and landing page subfolder.

Let's get started!

To proceed, log in your Close CRM account.

Click **Leads** on the left panel.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-1.webp)

Open any existing lead.

Scroll down until you reach the **Custom Field**section at the bottom left of the lead.

To add a custom field, click the **+** icon located at the top-right of the **Custom Fields**section.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-2.webp)

Click on **Create a new custom field.** The **Add Lead Custom Field** pop-up opens:

- Under **Name**, write **Channel**
- Leave the field **Type**as **Text**
- Click **Add Field**

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-3.webp)

We have now created the **Channel**custom field. Let's follow the same process to create the following custom fields:

| **Name** | **Type** |
| --- | --- |
| Source | Text |
| Campaign | Text |
| Term | Text |
| Content | Text |
| Landing page | Text |
| Landing page subfolder | Text |

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-4.webp)

Click **Save**.

At this stage, since we didn't populate any value into these new fields, you can't view them from your lead.

Now that we have the created custom fields, let’s connect your form with Close CRM to send your leads to Close CRM.

## Step 2: Send lead source data using Zapier

Zapier is a workflow automation software that creates workflows between different tools. In our case, we will create the following workflow:

**When a new lead is captured in our form ➡️ Create a new Lead in Close CRM**
**Note**: this workflow sends your new leads on Close CRM. If you are already automatically sending leads to Close with Zapier, make sure that you are not creating duplicate leads with the method described here. Adapt this guide to your specific needs.

Sign up to [Zapier.com](https://zapier.com/) (it's free).

Create a new **Zap**.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Monday-CRM-7-1024x461.webp)

The **Zap editor** opens.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-to-Pipedrive-8.webp)

Click in the **Trigger** box.

Our trigger will be: a new lead is generated in our form builder.

In our case, we use **Typeform**to collect leads. But you can connect another form builder - Zapier covers most popular form builders.

Search for your form builder in the search bar. Select it.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-to-Pipedrive-9.webp)

Set the **Trigger Event**as "New entry" - wording can vary.

Under **Account**, link your form builder account with Zapier.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-to-Pipedrive-24.webp)

Click **Continue**.

Under **Form**, select the form you want to connect.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-to-Pipedrive-10.webp)

Click **Continue** --> Click **Test Trigger** --> Click **Continue with selected record**.

The pop-up for the **Action** box opens. Here we are going to define the **Action event** you want to occur on Close CRM when a new lead is generated in our form builder. In our case, we want to *Create a module entry*on Close CRM. Let's go through the steps:

Search for **Close**. Select it.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-5.webp)

Under **Action event**, select **Create Lead**.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-6.webp)

Under **Account**, connect your Close app with Zapier.

Click **Continue**.

The **Configure**section opens. Here we want to map the data from our form builder with the Close CRM fields. Feel free to map the data the way you prefer.

Simply scroll down to find the lead source fields: channel, source, campaign, term, content, landing page, landing page subfolder.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-7.webp)

Let's map the **Channel**field: click the **+** icon, and select the **Channel**hidden field from your form.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-8.webp)

Map the rest of the Custom fields (from Close CRM) with their associated hidden fields (from your form builder):

- Source
- Campaign
- Term
- Content
- Landing page
- Landing page subfolder

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-9.webp)

Click **Continue**. You enter in the **Test**step. Click **Test step**.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-10.webp)

If the test data is properly passed to Close CRM, the test is successful, and a green check is added next to the **Test**title.

Click **Publish**.

You are all set!

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-11.webp)

## Step 3: Test the automation

To test the automation:

1. Empty the cache of your browser
2. Visit your website from the channel of your choice (SEO, Google Ads, Organic Social, Referral, Direct, etc.).

You can use this link to emulate a Google Ads click:

> 🔗 *https://yoursite.com/landing-page***?gclid=123456789&wc_clear=true**&UTM_source=Google+Ads**&UTM_campaign=Your+Campaign+Name&UTM_term=Keyword+Clicked&UTM_content=Ad+Name**
>
> ➡️ Replace the italic URL with your landing page URL

Fill out your form and submit it.

Head back to Close CRM --> **Leads**. You should see your newly added lead appear, open it.

Scroll down to the **Custom Fields**section.

![](http://help.leadsources.io/wp-content/uploads/2024/11/Send-lead-source-data-to-Close-CRM-12.webp)

The custom fields should be populated with the lead source data captured in your form (channel, source, etc.).

If no value was captured (example, in the absence of UTM parameters for the **Term**and **Content**fields), then the associated custom field will not displayed by Close CRM.
