/Documentation

How to set up Stape Conversion Tracking Pipedrive app

Updated Apr 22, 2026

The Stape Conversion Tracking Pipedrive CRM app creates integration between Pipedrive CRM and your chosen platform. It securely transmits deal status updates via a server-side connection and also supports sending data related to offline conversions.

App installation

Give the app the scopes it requires:

allow and install

Integration methods: CAPI Gateway, Signals Gateway or server GTM

methods

Integration method depends on your tracking setup and goals, and/or on your current experience with Stape. Click on the section below that corresponds to the tracking method you use:

Before you start

Make sure you have an active Stape account with Meta Conversions API Gateway

If you don’t have an account on Stape, please create one or log in if you already have. In the main menu click “More Gateways” → “Meta CAPIG” → “Create CAPIG” on the top right.

meta capig create

Add name, email, and server location for new CAPIG. Then, choose the subscription plan and add billing details.

After creating Meta Conversions API Gateway in your Stape account, connect your Meta Dataset (Pixel) - just click "Add data source" → authorize in Meta → select the Business Manager and Dataset (Pixel) you want to connect.

meta

To increase the events match quality, please enable “Automatic advanced matching”.

meta

App configuration

The setting process can be divided into two parts:

  • Meta and Stape accounts data
  • PipeDrive CRM fields
crm app

Meta and Stape accounts data

You will need to fill in the following field:

- Meta Dataset (Pixel) ID - unique identifier that is used to configure integrations and view events in Events Manager. You can find it in your Meta account in Data Sources’ “Settings” tab. See the detailed instruction on how to find Meta Dataset (Pixel) ID here.

- CAPIG API Key - alphanumeric string value that is needed for app identification. Find CAPIG API Key in the CAPIG settings section of your Stape account. See the detailed instructions on where to find CAPIG API Key here.

If you haven’t set up Meta Conversions API Gateway yet, see the section above.

capig api key

Pipedrive CRM fields

Next you need to map your CRM fields to conversion event parameters.

- (Optional) Pick a field where Meta Lead ID is stored. Note dropdown will only reflect custom fields.

- Configure additional User data you’d like to send to Meta, by choosing a parameter in the left dropdown and selecting an appropriate field in the right-side one.

user data

- Application sends conversion Events based on stages of your Deals, whenever a deal reaches a stage you define, a corresponding event will be sent towards your Meta Dataset (Pixel). So we need to configure it by choosing one of two approaches:

  • In the left-side dropdown, select a Deal stage to trigger an event. In a box to the right, type the event name you’d like to send to Meta.
events param
  • Select the ‘Send all statuses’ checkbox if you want to send all Deal stages as events to Meta. Events are then named automatically and consist of Pipeline + Deals stage name. You can also select statuses to ignore in this case.
events param

Once done, click “Save and Connect”. Once you see a success message your installation is complete and the application will send conversion events in the background based on your settings.

success

Before you start

Make sure you have an active Stape account with Signals Gateway

If you don’t have an account on Stape, please create one or log in if you already have. In the main menu click “Signals Gateway” → “Create Signals Gateway” on the top right.

signals gateway create

Add name, email, and server location for new Signals Gateway. Then, choose the subscription plan.

running signals
For more detailed instructions, check Stape’s article on how to configure Signals Gateway.

Set up the app

The setting process can be divided into two parts:

- Signals and Stape accounts data
- PipeDrive CRM fields

signals gateway config method

Signals and Stape accounts data

You will need to fill in the following field:

- Signals Gateway Pixel - unique identifier that is used to configure integrations and view events in Signals Gateway. You can find it in your Signals Gateway account in the Data Sources tab. See the detailed instruction on how to find Signals Gateway Pixel ID here.

- Signals Gateway API Key - alphanumeric string value that is needed for app identification. Find Signals Gateway API Key in the Gateway settings section of your Stape account. See the detailed instructions on where to find Signals Gateway API Key here.

gateway api key

PipeDrive CRM fields

Next you need to map your CRM fields to conversion event parameters.

- (Optional) Pick a field where Meta Lead ID is stored.

- Configure additional User data you’d like to send to Meta, by choosing a parameter in the left dropdown and selecting an appropriate field in the right-side one.

user data param

- Application sends conversion Events based on stages of your Deals, whenever a deal reaches a stage you define, a corresponding event will be sent towards your Signals Gateway Pixel. So we need to configure it by choosing one of two approaches:

  • In the left-side dropdown, select a Deal stage to trigger an event; in a box to the right, type the event name you’d like to send to Signals Gateway pipeline.
events
  • Select the ‘Send all statuses’ checkbox if you want to send all Deals stages as events to the Signals Gateway pipeline. Events are then named automatically and consist of a Deal stage name. You can also select statuses to ignore in this case.
events

Once done, click “Save and Connect”. Once you see a success message your installation is complete and the application will send conversion events in the background based on your settings.

success

Before you start

Make sure you have an active Stape account with a server GTM container hosted on Stape.

If you don’t have an account on Stape, please create one or log in if you already have. In the main menu click “sGTM” → “Create container” on the top right.

create container

Add your container name, Container Configuration that you copied from your Google Tag Manager Server Container, and select server location. Click Create Container.  

App setup

The setting process can be divided into two parts:

- Stape account data
- PipeDrive CRM fields

server gtm config

Stape account data

You will need to fill in the following field:

- Container API Key - alphanumeric string value that is needed for app identification. Find Container API Key in the Container settings section of your Stape account. See the detailed instructions on where to find Container API Key here.

stape container

HighLevel CRM fields

Next you need to map your CRM fields to conversion event parameters.

- (Optional) Pick a field where Meta Lead ID is stored.

- Configure additional User data you’d like to send to server GTM, by choosing a parameter in the left dropdown and selecting an appropriate field in the right-side one.

user data

- Application sends conversion Events based on stages of your Deals, whenever a deal reaches a stage you define, a corresponding event will be sent towards your server GTM container. So we need to configure it by choosing one of two approaches:

  • In the left-side dropdown, select a Deal stage to trigger an event; in a box to the right, type the event name you’d like to send to server GTM.
events param
  • Select the ‘Send all statuses’ checkbox if you want to send all Deals stages as events to server GTM. Events are then named automatically and consist of a Deal stage name. You can also select stages to ignore in this case.
events param

Once done, click “Save and Connect”. Once you see a success message your installation is complete and the application will send conversion events in the background based on your settings.

success

Configure sending data to the required platforms

With the current setup, the app will send events to your server GTM container, but to distribute them to platforms like Meta, TikTok, Google Ads, or any other, you need to configure the CAPI tags inside GTM to fire accordingly.

1. Configure the Data Client to claim the JSON requests sent from the CRM app. Go to the Templates → click “New” → upload the Data Client template you’ve previously downloaded from the Github.

2. Go to the Clients section of your sGTM container → click “New” → select Data Client. That’s basically it, your configuration will look like in the screenshot below. Click “Save”.

Data Client config

2. Select the platforms you need to send data to from sGTM. While setting up server-side tracking with sGTM, you might have already configured the CAPI tags for the required platforms, for example:

Or any other tags for platforms that support server-side tracking. You will need to use them to configure sending data from your CRM to the required platforms.

To give you an understanding of how to configure the tags this way, we will take the Facebook platform as an example. You should map the events according to the requirements of the platforms you use.

4. Create a new Facebook CAPI tag. Go to the Tags section in sGTM → add “Facebook Conversion API” as tag type.

5. Configure the tag.

Event Name Setup Method: Override

  • Event Type: Custom. Select a built-in variable “Event name”.
  • Action Source: System Generated.
  • Add Pixel ID and generate API Access Token: for the detailed instructions on how to find these values, please refer to our guide on where to find Meta Pixel ID and API Token.

Here is an example of how your configuration will look at this point:

Facebook CAPI tag basic config
  • User data section: select properties from the drop-down list - Lead ID, Browser ID, Click ID. These three are basic.

For each property, add a variable that will take the appropriate value from the request sent from the CRM app.

Create a following variable for Lead ID:

- Variable Type: Event Data

Key Path: lead_id

Lead_id variable

Create two different variables for Browser ID and Click ID:

- Variable Type: Event Data (for both), as the IDs will be retrieved from the event sent from CRM, not from the cookie.

- Cookie Name: fbp (for Browser ID variable) and fbc (for Click ID variable)

Fbc variable
FBP variable

Here is an example of the user data section configuration:

Example of the user data section configuration
  • Custom data section: add a few custom fields to identify the source of the event.

Event_source property name with crm value.

lead_event_source - as property value, add a variable with the following configurations:

- Variable Type: Event Data

- Key Path: lead_event_source

Lead_event_source variable

Here is how this configuration will look like in the tag:

Custom Data section configuration

6. Add a trigger for a tag.

Use the following configurations:

- Trigger type: Custom

- This trigger fires on: Some events

Besides, add the following conditions for a tag to trigger:

- Client Name equals Data Client

- Action Source equals system_generated

The variable for action source must have configurations as on the screenshot below:

Action source variable

- Event Source equals crm

Configure the variable for the event source as shown in the screenshot:

Event source variable

As a result, your trigger will look similar to the example from the screenshot below:

Trigger configuration example

7. Test the setup.

Since it is, in fact, a webhook that is sent from CRM to the server GTM, you can refer to the article on debugging incoming webhooks in server GTM for the detailed instructions.

Settings editing

If you have some changes in the funnel or you want to change the events sent to your CAPI Gateway, server GTM container, or Signals Gateway, you can always edit your app configuration.

To do this, click on the menu button, then select “Tools and apps”. Navigate to “Installed apps”, select “Stape Conversion Tracking“ and click on the “Settings” tab.

Edit tha app config

Comments

Can’t find what you are looking for?