How to track TikTok ads data in Gravity Forms easily

✔️Capture TikTok ads data on a lead level ✔️ Store TikTok ads data in Gravity Forms
Track Tiktok ads data in Gravity Forms

What's on this page:

Track the source of your leads (free trial)

Are you running TikTok ads but unsure which specific one generated your leads, sales, and revenue?

You might know how many leads each TikTok ad generated, but you can't see the details on a lead level.

This means you can’t identify which TikTok ad generated the leads that resulted in conversions, making it tough to optimize your ad budget.

Leadsources solves this problem.

Leadsources tracks TikTok ad data (campaign, ad group, ad) for every lead.

You can store this TikTok ad data for every lead directly in Gravity Forms.

Then, you can generate reports, like “Ads that brought in the most sales or revenue,” to determine which ads to promote or pause.

Let’s dive in!

Capture TikTok ads in Gravity Forms

Step 1: Add Leadsources in the head tag of your website

Sign up to Leadsources.io for free (benefit from our 14-day free trial).

Place the Leadsources script inside the head tag of your website.

No code is necessary, follow this easy step-by-step guide.

Step 2: Add the UTM parameters to your TikTok campaigns

Incorporate UTM parameters into your TikTok ads to monitor essential data (campaign, ad group, ad).

For instance, add these UTM parameters to the links in your TikTok ads:

  • UTM_medium=paidsocial
  • UTM_source=tiktok
  • UTM_campaign=campaign-name
  • UTM_term=ad-group-name
  • UTM_content=ad-name

The completed URL should appear 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

Remember that Leadsources captures lead source data even in the absence of UTM parameters. It tracks information such as channel, landing page, and landing page subfolder, providing a comprehensive view of each lead’s origin.

Step 3: Add the hidden fields in Gravity Forms

TikTok add hidden fields Gravity Forms

When a user submits your Gravity Forms form, Leadsources automatically populates the hidden fields with TikTok ads data (campaign, ad group, and ad).

Take a look at our comprehensive guide on adding hidden fields in Gravity Forms to finalize the setup.

Leadsources subsequently stores the TikTok ads data directly in your Gravity Forms form (refer to Step 4).

Step 4: Capture the TikTok ads data in Gravity Forms

TikTok ads data Gravity Forms

Leadsources gathers TikTok ad data (campaign, ad group, and ad) when a visitor clicks your TikTok ad and arrives at your website.

Leadsources automatically populates the hidden fields of your Gravity Forms form with the TikTok ads data.

Upon form submission, the TikTok ads data, along with the form responses, is transmitted to the Gravity Forms submissions page for every generated lead.

How does Leadsources work?

Adding the Leadsources script to your website allows you to capture TikTok ads data (campaign, ad group, ad) whenever someone visits your site.

This information is automatically stored in the hidden fields of your Gravity Forms form.

Leadsources will gather the following visitor information:

  • Channel
  • Source
  • Campaign
  • Content
  • Term
  • Landing page
  • Landing page subfolder

This allows you to monitor key lead sources even without UTM parameters, including traffic from organic sources like:

  • Google Search
  • Instagram bio link
  • Social media posts
  • Etc.

While many tools rely on UTM parameters to capture lead data, Leadsources operates efficiently without them, ensuring complete lead source tracking.

Leadsources monitors lead data from every channel, including:

  • Organic Search
  • Paid Search
  • Organic Social
  • Paid Social
  • Referral
  • Affiliate
  • Email
  • Display Advertising
  • Direct Traffic

This allows you to consolidate all lead source data in a single location for simplified tracking and analysis.

How to run performance reports

With your TikTok ads data stored in Gravity Forms, you can generate 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

This enables you to make better decisions regarding your TikTok budget.

Now, let’s examine the various types of reports you can generate.

1. Lead performance reports

Reports can be created to show the total number of leads generated by:

  • Channel
  • Campaign
  • Ad group
  • Ad
  • Landing page
  • Landing page subfolder

Example #1: Leads by channel

This report allows you to determine which channel is responsible for the most lead generation.

Leads by channel

Example #2: Leads by TikTok campaign

Focus on a particular lead source, like TikTok, and evaluate the number of leads generated by each campaign.

Leads by campaign

Example #3: Leads by TikTok ad

After identifying the TikTok campaign that brings in the most leads, you can examine which particular ad group or ad is responsible for those leads.

2. Sales performance report

Recognizing which TikTok ads and audiences yield the highest lead generation is crucial. However, do these leads also translate into sales and revenue?

Importing your Gravity Forms data into a CRM such as GoHighLevel allows you to monitor which leads turn into paying customers. This enables you to generate sales reports based on your TikTok ads data (campaign, ad group, ad).

 Here’s an example for you to consider:

ChannelsSearch PaidSocial Paid
Leads5075
Sales56
Average order value$150$100
Revenue$750$600

After analyzing your advertising campaigns on Google and TikTok, the initial "Leads by Channel" report showed that TikTok Social Paid ads produced more leads than Google Search Paid ads.

However, after reviewing your sales and revenue data from the CRM export, you discovered that the Search Paid channel generated more revenue even though it had fewer leads compared to the Social Paid channel. This indicates a potential opportunity to boost the Search Paid budget.

Furthermore, you can generate different reports to examine sales and revenue performance in greater detail, including:

  • Sales and revenue by source
  • Sales and revenue by campaign
  • Sales and revenue by content (aka. ad)
  • Sales and revenue by term (aka. audience)
  • Sales and revenue by landing page
  • Sales and revenue by landing page subfolder