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.

Step 1. Set up Facebook integration
-
Log in to your Skro account.
-
Navigate to Settings → Integrations.
-
In the Traffic Sources section click Add.

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

-
Sign in to the account you want to integrate.
-
Opt in your Pages and click Continue

-
Review the requested permissions.
-
Click Save.

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

- 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.
- Click Next.

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
- 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.).
- Include Conversion Payout - If checked, we will send conversion revenue and currency to Facebook.
Facebook Pixels
- Pixel Name - Just give a name to your pixel.
- Pixel ID - Your Facebook pixel ID what you are going to use when creating a campaign in Facebook and Skro.
- 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.
- Copy and paste the token into Skro.
Click Save & Close.

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.

Step 3. Associate integration with your traffic source
- Go to Traffic Sources and click Create.

- Click Facebook (Meta) Ads logo.

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

-
All parameters are already prefilled for you.
-
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.
-
Go to Landings and click Create.
-
Select workspace.
-
Add name.
-
Add your landing page URL and macros if needed.
-
Copy Click to Offer URL and add it to your landing page as CTA link.
-
Click Save & Close.

Add your offer(s).
-
Go to Offers and click Create.
-
Select workspace.
-
Add name.
-
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.
-
Click Save & Close.

Create campaign
-
Go to Ads Manager and click Create.
-
Select your integrated Traffic Source as Facebook.
-
Select your Conversion Event Name and Pixel. These are needed to send conversion info back to Facebook (Meta).
-
Cost Model should be Auto.
-
Select your cost currency.
-
Click Next

-
Select workspace.
-
Add title to your campaign.
-
Click Next

-
Choose your Destination Type. In this example we use flow
-
Choose your redirect mode. In this example we use redirect 302
-
Select your landing.
-
Select your offer(s).
-
Click Save

-
Choose Redirect or Direct tracking method and select your landing page. Facebook supports both methods.
-
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.
-
Copy and paste Skro Click to offer URL to your landing page as CTA link.
-
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.

Step 5. Create a Campaign in Facebook (Meta) Ads
-
There are multiple campaign types that you can create with Facebook (Meta) Ads. Campaign types determine how your ad will be promoted.
-
In order to create a Facebook (Meta) ad campaign, please follow the steps below:
-
Sign in to your Facebook (Meta) ads manager account.
-
Create a new campaign.
-
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}- 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

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

-
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.
-
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
- 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=Jdda88dsa90gf77g8fd9gStep 7. How to optimize Facebook (Meta) campaigns, adsets and ads?
-
Go to Ads Manager.
-
Double-click your campaign name.

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

-
Double-click your campaign name or use tab above the table to move into the Adset view.
-
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.

-
Double-click your adset name or use tabs above to table to move to the Ads view. Also multi-select is supported.
-
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.

Manage multiple campaigns
-
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.
-
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 all your AdSets in one view.

Tree view optimization
-
Go to Ads Manager and select Tree on toolbar.
-
Double-click your campaign and you will be redirected to Reports view.
-
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
- Just drill-down your campaigns and adsets and start optimizing.

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.
Related guides
Need help with this guide? Contact Skro support.