Guides
Traffic sources

Facebook (Meta) Ads integration

Set up Facebook (Meta) Ads tracking in Skro, configure traffic source parameters, and connect your advertising campaigns.

Facebook (Meta) Ads integration gives you the ability to manage and optimize all your ads through the Skro UI.

  • Send conversions to Facebook to feed their AI and optimize audiences.
  • Sync ad spend every 30 minutes to Skro, so you get accurate reporting.
  • Check the delivery status and manage the status of Campaigns, AdSets and Ads directly from Skro UI.
  • Change daily budget directly from Skro UI.
  • Change bid value directly from Skro UI.
  • Dynamic columns: CPM, Link CPC, Link CTR, Impressions, Link EPC and Link Clicks from Facebook to Skro in real-time.

In this guide, you will learn how to set up your campaigns in Facebook (Meta) Ads and Skro so Facebook can pass information to Skro and back with a selected tracking method. This guide does not cover all aspects and options available when creating a campaign on these two platforms. Basic knowledge regarding setting up campaigns in Facebook and Skro is required.

Manage Facebook Ads campaigns

Step 1. Set up Facebook integration

  1. Log in to your Skro account.

  2. Navigate to Settings → Integrations.

  3. In the Traffic Sources section click Add.

Meta Integration step 1

  1. Click Facebook logo and you will be redirected to Facebook (Meta) Ads.

Meta Integration step 2

  1. Sign in to the account you want to integrate.

  2. Opt in your Pages and click Continue

Meta Integration step 3

  1. Review the requested permissions.

  2. Click Save.

Meta Integration step 4

  1. Click Got it and you will be redirected back to Skro.

Meta Integration step 5

  1. Choose the Facebook (Meta) Ads account you want to integrate and click Integrate.

If you want to integrate multiple ads account, then you will need to integrate them separately. The logic is that 1 integration equals 1 ad account equals 1 traffic source.

  1. Click Next.

Meta Integration step 6

Step 2. Set up Conversion API

If you want to send conversion info back to Facebook (Meta) Ads, then you will need to enable Conversion API.

Facebook Conversion Events

  1. Conversion Event Name - Define all your events that you want to track with CAPI (Lead, Purchase, Subscribe). When creating a campaign in Skro, then you will need to specify which conversion event you want to track. (If you want to track multiple events, then you will need to use our Custom Conversions. For example: AddToCart, ViewContent etc.).
  2. Include Conversion Payout - If checked, we will send conversion revenue and currency to Facebook.

Facebook Pixels

  1. Pixel Name - Just give a name to your pixel.
  2. Pixel ID - Your Facebook pixel ID what you are going to use when creating a campaign in Facebook and Skro.
  3. Conversion API Access Token - Go to Facebook Ads Manager and click All Tools → Events Manager → Select your pixel and go to Settings. Scroll down and you will see Conversion API section. Click Generate Access Token.
  4. Copy and paste the token into Skro.

Click Save & Close.

Meta Integration step 11

Your Facebook (Meta) Ads account is successfully integrated.

  • You can turn on/off your cost sync.
  • Edit, delete or renew your integration access token.
  • Renewing your access token is needed because sometimes Facebook will revoke your access token for some reason and your cost sync will not work.

Meta Integration step 12

Step 3. Associate integration with your traffic source

  1. Go to Traffic Sources and click Create.

Meta Integration step 13

  1. Click Facebook (Meta) Ads logo.

Meta Integration step 14

  1. Choose and select your Facebook (Meta) integration from dropdown menu.

Meta Integration step 15

  1. All parameters are already prefilled for you.

  2. Click Save & Close.

The integration is ready. Continue by creating a campaign for Facebook (Meta) Ads.

Step 4. Create a Campaign in Skro

(OPTIONAL) Add your landing page as (pre-lander) before your actual offer page.

  1. Go to Landings and click Create.

  2. Select workspace.

  3. Add name.

  4. Add your landing page URL and macros if needed.

  5. Copy Click to Offer URL and add it to your landing page as CTA link.

  6. Click Save & Close.

Setup Skro Landing

Add your offer(s).

  1. Go to Offers and click Create.

  2. Select workspace.

  3. Add name.

  4. Add your offer URL and add macros if needed. Usually you need to map Skro Click ID macro for same specific parameter name to use postback for conversions.

  5. Click Save & Close.

Setup Skro Offer

Create campaign

  1. Go to Ads Manager and click Create.

  2. Select your integrated Traffic Source as Facebook.

  3. Select your Conversion Event Name and Pixel. These are needed to send conversion info back to Facebook (Meta).

  4. Cost Model should be Auto.

  5. Select your cost currency.

  6. Click Next

Setup Skro Campaign

  1. Select workspace.

  2. Add title to your campaign.

  3. Click Next

Setup Skro Campaign

  1. Choose your Destination Type. In this example we use flow

  2. Choose your redirect mode. In this example we use redirect 302

  3. Select your landing.

  4. Select your offer(s).

  5. Click Save

Setup Skro Campaign

  1. Choose Redirect or Direct tracking method and select your landing page. Facebook supports both methods.

  2. If you are going to use Direct tracking method then copy and paste Skro Tracking Pixel into your website between HEAD tags. If you are going to use Redirect tracking then you do not need to install any pixels on your landing page.

  3. Copy and paste Skro Click to offer URL to your landing page as CTA link.

  4. Copy and paste Skro Postback URL to your affiliate network or use JS or IMG pixel, but you will need to map Skro click ID and payout macros by yourself.

Setup Skro Campaign

Step 5. Create a Campaign in Facebook (Meta) Ads

  1. There are multiple campaign types that you can create with Facebook (Meta) Ads. Campaign types determine how your ad will be promoted.

  2. In order to create a Facebook (Meta) ad campaign, please follow the steps below:

  3. Sign in to your Facebook (Meta) ads manager account.

  4. Create a new campaign.

  5. Select your campaign type, tracking event, pixel, audience, placements, budget etc.

Direct Tracking Example

The complete direct tracking URL that you have copied from Skro should look like this:

https://prelander1.com/?trck=eyJjcGlkIjoiZDdjOTllNDAtNWVjOS00NjZjLWI1MmMtZTk1YjM3NTViNDY3IiwiciI6MCwicCI6MCwibCI6MH0=&ad_id={{ad.id}}&ad_name={{ad.name}}&adset_id={{adset.id}}&adset_name={{adset.name}}&campaign_id={{campaign.id}}&campaign_name={{campaign.name}}&placement={{placement}}&site_source_name={{site_source_name}}&gender={gender}
  1. On the ad level you have to provide your landing page URL as your business website. Do not include any tracking parameters at this point, provide the plain URL.

https://prelander1.com

Setup Facebook (Meta) Campaign

  1. Paste the part of the direct tracking URL that you have copied from Skro that starts after the ? character in the URL Parameters text field.

  2. If you are doing ads by gender, then you can define your gender value manually to feed Facebook Ads AI. If do not want to use this parameter then just remove it.

Male traffic only: &gender=m

Female traffic only: &gender=f

trck=eyJjcGlkIjoiZDdjOTllNDAtNWVjOS00NjZjLWI1MmMtZTk1YjM3NTViNsY3IiwiciI6MCwicCI6MCwibCI6MH0=&ad_id={{ad.id}}&ad_name={{ad.name}}&adset_id={{adset.id}}&adset_name={{adset.name}}&campaign_id={{campaign.id}}&campaign_name={{campaign.name}}&placement={{placement}}&site_source_name={{site_source_name}}&gender=f

Setup Facebook (Meta) Campaign

Redirect Tracking Example

The complete Redirect Tracking URL that you have copied from Skro should look like this:

https://skrotrack.com/campaign/399fb9ed-fd0d-4c23-9e8d-ba10d5a84549?ad_id={{ad.id}}&ad_name={{ad.name}}&adset_id={{adset.id}}&adset_name={{adset.name}}&campaign_id={{campaign.id}}&campaign_name={{campaign.name}}&placement={{placement}}&site_source_name={{site_source_name}}&gender={gender}
  1. On the ad level you have to provide your campaign tracking link. Do not include any tracking parameters at this point, provide the plain URL.

https://skrotrack.com/campaign/399fb9ed-fd0d-4c23-9e8d-ba10d5a84549

Setup Facebook (Meta) Campaign

  1. Paste the part of the redirect tracking URL that you have copied from Skro that starts after the ? character in the URL Parameters text field. You can delete the ? mark.

  2. If you are doing ads by gender, then you can define your gender value manually to feed Facebook Ads AI. If do not want to use this parameter then just remove it.

Male traffic only: &gender=m

Female traffic only: &gender=f

ad_id={{ad.id}}&ad_name={{ad.name}}&adset_id={{adset.id}}&adset_name={{adset.name}}&campaign_id={{campaign.id}}&campaign_name={{campaign.name}}&placement={{placement}}&site_source_name={{site_source_name}}&gender=f

Setup Facebook (Meta) Campaign

  1. When you are ready with your ad set up, then click Publish.

Congratulations, you have successfully set up tracking of Facebook (Meta) traffic with Skro. Each time a visitor clicks on your ad, will be directed to your landing page with Skro's tracking parameters being passed. On a landing page, the direct tracking script will launch and send an HTTPS request to Skro with information about a visit and other information passed from Facebook (Meta).

Step 6. Additional Conversion API Parameters

Requirements: Facebook Ad Account and Conversion API Integration.

If you need to send additional information via Facebook Conversion API, then you can use the following parameters:

  • firstName - Using Roman alphabet a-z characters is recommended.
  • lastName - Using Roman alphabet a-z characters is recommended.
  • email - User email address.
  • phone - User phone number.
  • zip - Use lowercase with no spaces and no dash. Use only the first 5 digits for U.S. zip codes. Use the area, district, and sector format for the UK.
  • fbLoginId - The ID issued by Meta when a person first logs into an instance of an app. This is also known as App-Scoped ID.
  • fbp - The Facebook browser ID value is stored in the _fbp browser cookie under your domain. Example value: fb.1.1596403881668.1116446470
  • sourceDomain - It is used if you want to hide your real source domain. By default it is used your landing or offer domain as source domain and this info is sent back to Facebook.
  • eventId - You can send your Event ID if you want to avoid duplication. For example, if you are using Meta JS Pixel and Conversion API together and both fires the same event.

Example postback URL with additional parameters:

https://skrotrack.com/postback?clickId=ancdh2udspoc73cjodf0&payout=10&firstName=John&lastName=Toe&[email protected]&zip=12345&fbLoginId=1.1.mylogin&fbp=fb.1.1596403881668.1116446470&sourceDomain=whitepage.com&eventId=Jdda88dsa90gf77g8fd9g

Step 7. How to optimize Facebook (Meta) campaigns, adsets and ads?

  1. Go to Ads Manager.

  2. Double-click your campaign name.

Optimize Meta campaigns step 1

  1. Use Group By select boxes and select the following values:
  • Group By 1: C5: Campaign ID
  • Group By 2: C3: AdSet ID
  • Group By 3: C1: Ad ID
  1. In the current view you can now optimize your Facebook campaigns directly from Skro UI. It means that you can turn ON/OFF Facebook campaigns, change campaign budget and see dynamic columns from Facebook in real-time.

Optimize Meta campaigns step 2

  1. Double-click your campaign name or use tab above the table to move into the Adset view.

  2. Now you can manage your Facebook AdSets, so that you can turn ON/OFF adset, change budget and see dynamic columns from Facebook in real-time.

Optimize Meta campaigns step 3

  1. Double-click your adset name or use tabs above to table to move to the Ads view. Also multi-select is supported.

  2. Now you can manage your Facebook Ads, so that that you can turn ON/OFF ads and see dynamic columns from Facebook in real-time.

Optimize Meta campaigns step 4

Manage multiple campaigns

  1. For example, if you have multiple ad accounts and running like 50 campaigns on each. Then you can optimize all campaigns in 1 single view, if you select 1 traffic source from toolbar.

  2. Do not select any campaign from Ads Manager view. Just click the C5: Campaign ID tab (or any other tab) above the table to move into that view.

Optimize Meta campaigns step 5

  1. Optimize all your AdSets in one view.

Optimize Meta campaigns step 7

Tree view optimization

  1. Go to Ads Manager and select Tree on toolbar.

  2. Double-click your campaign and you will be redirected to Reports view.

  3. Use Group By select boxes and select the following values:

  • Group By 1: C5: Campaign ID
  • Group By 2: C3: AdSet ID
  • Group By 3: C1: Ad ID
  1. Just drill-down your campaigns and adsets and start optimizing.

Optimize Meta campaigns with tree view step 6

Verify the setup

Open the generated campaign URL and check that the visit appears in Skro. Confirm that traffic source macros resolve to actual values. If you send conversions back to the source, verify a test conversion in both systems.

Troubleshooting

If data is missing, check the selected workspace, integration, campaign, and reporting date range. Compare parameter names and macro values with the examples in this guide before repeating the test.

Need help with this guide? Contact Skro support.

On this page

Need help? Contact support ↗