Send data from Salesforce to platform you need with Stape's app

Uliana Lesiv

Uliana Lesiv

Author
Updated
Feb 20, 2026

The Stape Conversion Tracking Salesforce CRM app is a tool that allows users to connect Salesforce CRM with the required platforms (which support server-side tracking). It sends Lead status updates to the platforms through a secure server-side integration. Additionally, the app supports sending offline conversion data.

How does the Stape's app work?

The app serves as a Salesforce data connector. Once the app is configured, it automatically begins monitoring the status of your Leads in Salesforce. Any status changes are sent as conversion events to Meta CAPI Gateway, Signals Gateway, or a server GTM container where they are processed. After it, the data is transfered to your destination.

By receiving detailed data on how Leads that interacted with an ad progressed afterward, the platforms can more effectively analyze user behavior and identify audiences that are most likely to convert into customers.

How Stape Conversion Tracking app works

Who can benefit from the Stape Conversion Tracking App for Salesforce?

The Stape Conversion Tracking app for Salesforce is useful for businesses that:

Run Facebook Lead Ads campaigns

This app will be helpful for companies focused on generating leads through Facebook Lead Ads. When someone submits a Facebook form, their details are automatically sent to Salesforce. The app also sends updates on Lead statuses back to Meta, helping the platform optimize your campaigns.

Handle a large number of offline conversions

For businesses that close sales through phone calls, consultations, or in-store transactions after running ads online, this app is highly beneficial. When a purchase is recorded in Salesforce, the app automatically forwards that conversion data to the platform you need, acting as a connector between Salesforce and the platform you need. In this way, you can be sure that offline sales contribute to campaign optimization and give you a complete view of ad performance.

Offline conversions

Use server-side GTM and need to send data from SalesForce to other platforms

If you configure the app using server-side GTM, you can transfer Salesforce data to any platform that supports server-side tracking.

Benefits of using Stape's app for Salesforce

BenefitWhat's in it for you?
Automated data flowThe app automatically sends conversion data from Salesforce to platforms that support server-side tracking. No need to manually upload CSV files.
Data enrichmentUsing server-side GTM as the configuration method, you can share data with any platform that supports this tracking method.
Track offline conversionsEasily transfer offline conversion data (in-store sales or phone call conversions) from Salesforce to the platform you need.
Flexible integration methodsThe app offers several integration options to suit your setup: Meta Conversions API Gateway, Signals Gateway, or server-side Google Tag Manager.

How to set up Stape Conversion Tracking Salesforce app

App installation

1.1 Install the Stape Conversion Tracking Salesforce app from Salesforce.

1.2 Give the app the scopes it requires.

Once you click Allow and Install, the app configuration page is displayed.

Integration methods: CAPI Gateway, Signals Gateway, or server GTM

Configuration 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.

Create Gateway button

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.

Authorize in Meta

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

Enable Automatic advanced matching

App setup

The setting process can be divided into two parts:

- Meta and Stape accounts data
- Salesforce CRM fields

Meta and Stape accounts data

You will need to fill in the following fields:

Meta fields

- Meta Dataset (Pixel) ID - a 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.

- CAPIG API Key - an 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.

Meta fields

Salesforce 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.

Fields configuration

Application sends conversion Events based on stages of your Leads, whenever an opportunity reaches a stage you define, a corresponding event will be sent towards your Meta Dataset (Pixel).

  • In the left-side dropdown select a Lead stage to trigger an event, in a box to the right type the event name you’d like to send to Meta.
Fields configuration

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.

Events configuration

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.

Create Signals Gateway on Stape

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

Status "Running" in the Signals Gateway
For more detailed instructions, check Stape's article on how to configure Signals Gateway.

App setup

The setting process can be divided into two parts:

- Signals and Stape accounts data
- Salesforce CRM fields 

Signals and Stape accounts data

You will need to fill in the following fields:

Signals Gateway fields

- Signals Gateway Pixel - a 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.

- Signals Gateway API Key - an 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.

Show Signals Gateway API Key

Salesforce 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 Signals Gateway, by choosing a parameter in the left dropdown and selecting an appropriate field in the right-side one.

Fields configuration in Signals Gateway

Application sends conversion Events based on stages of your Leads, whenever an opportunity reaches a stage you define, a corresponding event will be sent towards your Meta Dataset (Pixel). 

  • In the left-side dropdown select a Lead stage to trigger an event, in a box to the right type the event name you’d like to send to Meta.
Events configuration

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.

Events configuration

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 an sGTM 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 accounts data
- Salesforce CRM fields

Stape account data

You will need to fill in the following field:

Container API Key in the Container settings section

- Container API Key - an 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.

Container API Key in the Container settings section

Salesforce 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 server GTM, by choosing a parameter in the left dropdown and selecting an appropriate field in the right-side one.

Fields configuration in server GTM

Application sends conversion Events based on stages of your Leads, whenever an opportunity reaches a stage you define, a corresponding event will be sent towards your Meta Dataset (Pixel). 

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

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.

Configuration with server GTM

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 Meta, you can always edit your app configuration.

To do this, navigate to your Salesforce Home page and either use the App Launcher search or click on the Stape Conversion Tracking tab in the navigation menu:

Create an sGTM container

Conclusion

Using the Stape Conversion Tracking Salesforce app provides a simple and convenient way to send lead status data from Salesforce to the platforms you need. To get started, you'll need a Stape account and set up one of the supported server-side tracking methods: server-side GTM, Meta Conversions API Gateway, or Signals Gateway.

Want to start on the server side?register now!

author

Uliana Lesiv

Author

Uliana is a Content Manager at Stape, specializing in analytics and integration setups. She breaks down complex tracking concepts into clear insights, helping businesses optimize data collection.

Comments

Try Stape for all things server-side