You generate leads on TikTok and send them to Salesforce. But you can’t bind each lead to a specific TikTok ad.
Neither when a lead converts as a customer can you bind this particular customer to a specific TikTok ad.
This lack of tracking makes it impossible to assess the performance of your TikTok ads. As a result, you end up spending on many ads simultaneously without knowing which ads generate your leads or customers.
Hopefully, a simple solution exists to bind each lead to the specific TikTok campaign, ad group, and ad that generated it.
Let’s go through it step by step!
How to capture TikTok ads in Salesforce
Step 1: Add Leadsources in the head tag of your website
Leadsources is a simple tool that tracks the source of your leads. Once added to your website, it tracks up to 7 lead source data for each lead you generate.
Sign up to Leadsources.io – it’s free.
Insert the Leadsources tracking code into the head tag of your website – follow this guide.
Step 2: Add the UTM parameters to your TikTok ads
In your URL, include a few UTM parameters to track TikTok ads data: campaign, ad group, and ad.
You can add the following UTM parameters:
- UTM_medium=paidsocial
- UTM_source=tiktok
- UTM_campaign=campaign-name
- UTM_term=ad-group-name
- UTM_content=ad-name
The final URL should look like this:
https://www.yoursite.com/?UTM_medium=paidsocial&UTM_source=tiktok&UTM_campaign=campaign-name&UTM_term=ad-group-name&UTM_content=ad-name
Note: Leadsources collects all lead source data—including channel, landing page, and landing page subfolder—even when UTM parameters are not used to ensure comprehensive lead source tracking for each lead.
Step 3: Add the hidden fields in your form
Leadsources stores the lead source data captured directly in the hidden fields of your form.
So when a new lead submits your form, Leadsources fills the hidden fields with the TikTok ads information.
For detailed instructions on adding hidden fields in your form, refer to this guide.
Step 4: Capture the TikTok ads data in Salesforce
When users click on your ads and land on your site, Leadsources tracks the TikTok ads data: campaign, ad group, and ad.
Leadsources automatically fills the hidden fields in your form with the ads data from TikTok.
When the form is submitted, you can automatically send the TikTok ads data and your leads to Salesforce by simply linking your form to Salesforce.
How does Leadsources work?
Leadsources captures the TikTok ads data each time a visitor lands on your site.
This TikTok ads data is inserted in your form’s hidden fields. Upon submission of the form, this data is sent to Salesforce, alongside the leads details (name, email, etc.).
The following data is tracked by Leadsources for each visitor:
- Channel
- Source
- Campaign
- Content
- Term
- Landing page
- Landing page subfolder
Even without UTM parameters, Leadsources tracks the lead source data using the referrer.
In some cases, it is not possible to use UTM parameters, like when traffic comes from organic channels:
- Google Search
- Instagram bio link
- Social media posts
- Etc.
In these cases, most lead source tracking tools cannot capture the source of the leads as they rely only on UTM parameters. However, Leadsources still collects certain lead source information, even when UTM parameters cannot be used:
- Channel
- Source
- Landing page
- Landing page subfolder
Therefore, unlike many other lead tracking tools, Leadsources offers comprehensive lead data tracking across every channel:
- Organic Search
- Paid Search
- Organic Social
- Paid Social
- Referral
- Affiliate
- Display Advertising
- Direct Traffic
Additionally, Leadsources automatically categorizes your traffic by channel, providing a clean dataset as a result.
To conclude, Leadsources is a simple and robust tool that captures comprehensive lead source data across all channels in a unique place.
Performance reports: Lead, sales, and revenue by source
By tracking TikTok ads data in Salesforce, you can create multiple performance reports, such as:
- Leads, sales, and revenue by channel
- Leads, sales, and revenue by source
- Leads, sales, and revenue by campaign (aka. Tiktok campaign)
- Leads, sales, and revenue by term (aka. Tiktok ad group)
- Leads, sales, and revenue by content (aka. TikTok ad)
- Leads, sales, and revenue by landing page
- Leads, sales, and revenue by landing page subfolder
As a result, you can adapt your TikTok budget according to the campaign, ad group, and ad that generates your leads, sales, and revenue.
Let’s review the different lead performance reports you can generate with this data.
1. Lead source reports
Create performance reports that show the number of leads generated by:
- Channel
- Source
- Campaign
- Term (aka. TikTok ad group)
- Content (aka. TikTok ad)
- Landing page
- Landing page subfolder
Example #1: Leads by channel
This report allows you to identify the channel that generates most of your leads.
Example #2: Leads by TikTok campaign
Now you can isolate a given lead source (Example: TikTok) and measure the number of leads generated by each TikTok campaign.
Example #3: Leads by TikTok ad
After identifying the TikTok campaign that drives the most leads, you can investigate which exact ad group or ad generates the leads.
2. Sales and revenue source reports
Now we know what TikTok campaign, ad group, and ad generate our leads. But does it mean that these leads are driving sales and revenue?
We need to identify which leads transform into customers. To do so, connect your leads to a CRM like Salesforce. You can then monitor the sales and revenue generated from different channels, sources, TikTok campaigns, ad groups, ads, landing pages, and more.
You can then adapt your TikTok ads strategy to focus on the channels, sources, campaigns, ad groups, and ads that generate sales and revenue.
You can then generate various sales and revenue reports such as:
- Sales and revenue by source
- Sales and revenue by campaign
- Sales and revenue by term (aka. TikTok ad group)
- Sales and revenue by content (aka. TikTok ad)
- Sales and revenue by landing page
- Sales and revenue by landing page subfolder
To illustrate this, let’s consider the following scenario:
Channels | Search Paid | Social Paid |
Leads | 50 | 75 |
Sales | 5 | 6 |
Average order value | $150 | $100 |
Revenue | $750 | $600 |
After launching ads on Google and TikTok, the initial “Leads by Channel” report indicated that Social Paid ads (TikTok) produced more leads than Search Paid ads.
However, upon exporting your sales and revenue data from your CRM, you discovered that the Search Paid channel generated higher revenue with fewer leads compared to the Social Paid channel. As a result, you decided to increase the budget for the Search Paid channel.