When tracking Taboola Ads with SegMetrics, you will need to configure your ads with the appropriate tracking value.

In order for SegMetrics to track your ad-spend effectively, you need to add ad_id={campaign_item_id} to the Tracking Code in the Ad URL Options. You can also add this code at the Campaign level to automatically apply it to all ads. Instructions for this can be found on Taboola's documentation, here

If you would like to automatically generate your UTM values from your ads as well, you can use the following URL Parameters to track the ad-spend as well as UTM values in SegMetrics.


Here's how to set up your ad-tracking for Taboola

  1. Make sure that the SegMetrics Tracking Pixel is installed on your site & landing pages.
  2. When creating a new campaign or editing an existing campaign, you can add URL parameters at the bottom of the New Campaign/Edit Campaign page, in the Tracking Code section.
  3. Change your parameters to the ones listed above. Please note that when creating a new campaign, Taboola’s default URL parameter is “utm_source=taboola&utm_medium=referral”. Replace that with the parameters above.
    You should not add a question mark or an ampersand in the beginning of the tracking code (We add it in the backend).
  4. Click Continue to save your changes.

Tracking Taboola ad spend through Zapier


As long as the ad-tracking (above) is installed on your ads, we'll be able to view the campaign, ad group and ads in the standard UTM reports in SegMetrics. For 90% of Taboola advertisers, this provides enough information to accurately improve your ad spend and performance.

However, if you would like to import the ad-spend of your Taboola ads and tie them together with your SegMetrics tracking in order to calculate your Return on Ad Spend (RoAS), then follow the instructions below to use SegMetrics' Zapier connection to bring your ad-spend into SegMetrics.

Connecting Taboola Ad Spend to SegMetrics through Zapier

In order to import your Taboola Ad Spend into SegMetrics, we're going to use Zapier's Google Sheets integration.

1. Get the Campaign Ids and Ad Ids from Taboola.

Taboola doesn't include the Campaign & Ad Ids in their data exports, so you'll need to add those in manually.

  1. Log into your Taboola Ads account
  2. In the top-left menu, choose Account History. This will give you a list of all the changes you've made to your account.
  3. Choose the Entity Changed Id from each Ad, along with the Entity Changed Id from each Campaign and Ad Group, and add them to your spreadsheet.
  4. Now you'll have a sheet with a lookup for each Ad Id and Campaign Id. Which we'll use in the next step

2. Export the Ad Data from Taboola 

Next, we'll export the Click and Ad Spend data from Taboola , and add it to the Google Sheet to get ready to import into Zapier.

  1. Log into your Taboola Ads account
  2. In the top-left menu, choose Dashboard. This will show your data to export.
  3. From the date picker, choose the date range for the data you want to export. (We recommend using "Last 7 days" or "Yesterday" depending on how often you want to update the data)
  4. From the Break Downs menu, choose Date so that we get a per-date listing of the ad spend and click data.
  5. Click on the Ads menu item to list all the ad data that we'll export.
  6. Finally, click Download csv to download the data for that date range. (You can also set this up to schedule the data export to send to your email)

3. Add the Ad Data to the Spreadsheet

Now, we'll ad the Ad Data to the Spreadsheet and connect Zapier to the Spreadsheet so that it can pick up the changes and send the data into SegMetrics.
  1. Open your Google Sheet from earlier, and click the Plus icon in the bottom left to add a new Sheet. Name this "Ad Spend"
  2. Go to File > Import and choose Upload to upload the data file that you just added from Taboola 
  3. For the Import Location make sure to choose "Replace Current Sheet"
  4. Add 3 Columns: Campaign Id, Ad Group Id, Ad Id.
  5. Then, use a VLOOKUP to bring in the Ids from your Ad Ids sheet. An example would be: =VLOOKUP(B2, 'Ad Ids'!C:D, 1, true)

4. Configure Zapier

Finally, we're ready to configure Zapier to send the data into SegMetrics.
  1. Log into Zapier and follow Zapier's instructions to create a new Zap using Google Sheets
  2. Choose the document we created above as the data source to use, and set the zap to trigger when you add a new row to the document, as long as the Ad Id column has been set.
  3. Next, follow our instructions to configure a new Custom Ads integration that connects with Zapier.
  4. Follow the steps for Record Ad Performance, to add the data from the Google Sheet into SegMetrics
  5. Click the Test button to confirm everything is working, and then turn the Zap on live. You're ready to go!

Warning about URL Shorteners

It has come to our attention that most URL Shorteners will remove all UTM and Ad Tracking from the final URL,which breaks tracking in SegMetrics, Google Analytics, Infusionsoft, and any other tracking systems that you may use. We highly recommend using your FULL URL when creating ads, or use a custom redirection service that will keep the UTM and Ad Tracking values.

You can test this by taking your link shortener, and adding ?utm_campaign=test to the end of it.


Shortened URL
Test URL

If your final URL has the UTM value still attached, then your URL shortener will work. If not, we recommend using the full URL.

(NOTE: USED to pass UTM values to the final page, but they discontinued that feature. Be mindful that third party systems can change at any time)

Still need help? Contact Us Contact Us