Understand the metrics you will track
The table below shows how Cometly tracks key BuyGoods metrics.- View Content: visitors that visit your BuyGoods VSL/TSL.
- Initiate Checkout: visitors that reach your BuyGoods checkout.
- Purchase: visitors who purchased, and your commission amount.
- Upsell Purchase: the number of purchases that are upsells during checkout.
- Upsell Revenue: the revenue generated from upsells in your funnel, or when buyers add extra items to their purchase. Upsell Revenue is a subset of your total sales revenue and is automatically included in Gross Revenue.
- Cost Per Upsell: the average ad spend required to generate one upsell purchase. It is the total amount spent on ads divided by the number of upsell purchases.
- LP CTR: landing page click-through rate. It is the total number of View Content events divided by the number of link clicks.
Pro tip: Now that you know which metrics you will use in Cometly, configure your Ads Manager to show them.
Step 1: Add the Cometly Postback URL to BuyGoods
In this step you get the BuyGoods Postback URL from Cometly and add it to your BuyGoods account. In Cometly, click Events Manager in the sidebar, then click Create Event. Select BuyGoods under App / Integration and click Integrate. (You can also open the BuyGoods card on the Integrations page.) Click Activate BuyGoods. Under Copy the Postback URL, click Copy. Log in to your BuyGoods account and go to your AffOverview page:Step 2: Add scripts to your landing page
Add the scripts below to your landing page. You can use any landing page builder as long as it lets you add scripts to the<head> and to the <footer> or <body> of the page. In this step you also edit your offer URL to set up the BuyGoods conversion API.
If you use Hero AI landing pages, follow the Hero AI setup page instead.
If you use ClickFunnels for your landing page, open the editor for the funnel step and click Settings > Tracking Code.

Header code
Add your Cometly pixel and your Meta pixel code to the HEADER CODE section:- In Cometly, click Setup in the sidebar and open step 2, Install the Cometly pixel.
- Under Install the pixel, click Copy Code.
- Paste the Cometly pixel into the
<head>section of your landing page.
Footer code
Add both scripts below to the FOOTER CODE section:
Set up the conversion API parameter to send the fbclid (Facebook click ID)
So that the data can be sent back to Meta, add the following to the end of every offer URL on your landing page:
Install the Meta pixel in the head of your landing page
Make sure the Meta pixel is installed in the<head> code of your landing page. The Meta pixel should be ABOVE the Cometly pixel.
Step 3: Install the Cometly pixel in your BuyGoods offer
If you run multiple offers, complete this step for each offer.- In Cometly, click Setup in the sidebar and open step 2, Install the Cometly pixel.
- Under Install the pixel, click Copy Code.
- In BuyGoods, open your offer dashboard and click Settings.


Step 4: Track VSL and checkout metrics
To track how many people reach your VSL (sometimes called a “hop”) and how many reach your checkout (sometimes called an “OFI”, or order form impression), paste the following additional scripts under the Cometly pixel.
Lander/VSL: triggers the View Content event when a visitor lands on the VSL page.
Step 5: Add URL parameters to your ads for traffic going to BuyGoods offers
BuyGoods uses its own URL parameters, listed below. Do not use the parameters shown on the Setup page in Cometly.
Meta
Copy and paste the URL parameters below into the URL parameters field of your Meta ads:

TikTok
Add the following URL parameters to your website URL:
Cometly needs the following tracking template on each of your regular Google ad campaigns that are not Smart campaigns:
Step 6: Connect your ad platforms to Cometly
For the full walkthrough, see Connect ad platforms and ad accounts.Connect your profile to Cometly
Connecting your personal profile lets Cometly access the ad accounts you have permission to use. Once your profile is connected, you can link those ad accounts to your space for tracking and reporting.- Click Integrations in the sidebar.
- Under Ad Platforms, open the row for the platform you want to connect (for example Meta Ads, Google Ads or TikTok Ads).
- Click the sign-in button (for example Sign in with Facebook) and follow the prompts.
Connect ad accounts to your space
After your profile is connected, the platform row lists the ad accounts you have access to under Ad Accounts. These accounts are tied to your personal profile, so only you can see and manage them. Click Connect & Sync Data next to the ad account you want to add to the space. Once connected, the ad account appears in the list of connected ad accounts for that platform and is visible to everyone in the space.Step 7: Data expectations after connecting ad accounts
- After you connect an ad account, it takes up to 60 minutes for data to refresh and appear in Cometly.
- During this time, active campaigns do not show in the Cometly Ads Manager. Once the data refreshes, all active campaigns appear automatically.
- Ad and event conversion data starts displaying from the moment tracking is enabled. Past data cannot be retrieved retroactively.
Step 8: Configure the conversion APIs to send Purchase data to the ad platforms
The Conversion API is how Cometly sends the conversions it tracks to an ad platform, server to server. Turning on the Conversion API in your Cometly space automatically sends event data back to Meta.Set up the Cometly Conversion API
- In Cometly, click Events Manager in the sidebar, then open the Conversion API tab.
- Open the Meta row.
- Under Master Data Sharing Settings, select Send only attributed events.
- Click Save.

Set up the BuyGoods conversion API
Follow the steps in the BuyGoods help article to finish setting up the conversion API inside BuyGoods. This is required to send enhanced Purchase conversions to Meta and Google.Check it worked
After your next BuyGoods sale that comes from an ad click, go to Events Manager > Events Log in Cometly. Every postback BuyGoods sends is recorded there, so you should see a row from BuyGoods around the time of the sale. Within 15 to 30 minutes, the sale shows as a Purchase on the matching ad in the Ads Manager, along with the View Content and Initiate Checkout events from your offer pages.Troubleshooting BuyGoods integration setup
These are the common issues our support team sees when Cometly users set up the BuyGoods integration.My active ad campaigns are not showing in Cometly
After you connect an ad account, it takes up to 60 minutes for data to refresh and appear in Cometly. During this time, active campaigns do not show in the Cometly Ads Manager. Once the data refreshes, all active campaigns appear automatically. Ad and event conversion data starts displaying from the moment tracking is enabled.Red dots next to campaigns, ad sets and ads
If you see red dots (tooltip UTM Setup Error) next to your campaigns after the initial data refresh, there is likely an issue with the URL parameters on your ads. The BuyGoods integration requires specific URL parameters that differ from those listed on the Setup page. Use the parameters on this page:- Meta URL parameters for BuyGoods
- Google URL parameters for BuyGoods
- TikTok URL parameters for BuyGoods
View Content and LP CTR % metrics are not showing
If the View Content (visitors) metric or the LP CTR % (landing page click-through rate) is not displaying, the cause is most likely the View Content tracking, because LP CTR % is calculated from the total number of View Content events. The page below explains how to verify the Cometly pixel installation and how to add a custom tracking script to your landing page so these metrics are recorded. Fix View Content and LP CTR % metrics not showingData in Cometly does not match Facebook
If the data in Cometly does not match what you see in Meta Ads Manager for BuyGoods campaigns, the cause is most likely a timezone difference. Learn why data in Cometly does not match FacebookBuyGoods reports sales, but no sales show in Cometly
There is a small data delay: Cometly can take 15 to 30 minutes to display BuyGoods sales. If it has been more than 30 minutes and there is anad.id for the sale in the BuyGoods dashboard, a setup step was missed and Cometly is not tracking. Cometly does not display BuyGoods sales that have no ad.id.
Troubleshoot BuyGoods reporting sales with no sales showing in Cometly
Double BuyGoods sales reported in Cometly
If you see double sales in Cometly, you have most likely added the Cometly Postback URL twice in your BuyGoods account (on the AffOverview page and in an individual offer). Step 1 says to add the Postback URL only account-wide on the AffOverview page. Fix double BuyGoods sales reporting in CometlyFrequently asked questions
Does Cometly track BuyGoods upsells?
Yes. When BuyGoods reports a purchase as an upsell, Cometly records it as an upsell purchase, so it counts toward Upsell Purchase and Upsell Revenue. Upsell revenue is also included in Gross Revenue.Do I need a different BuyGoods Postback URL for each Cometly space?
Yes. Each space has its own Postback URL, and a sale only reaches the space whose URL BuyGoods calls. If you work in several spaces, switch to the right one, go to Integrations > BuyGoods, and compare the Postback URL with the one saved in BuyGoods.What does the BuyGoods script on my landing page do?
The Cometly script in your footer code reads the URL parameters your ad added to the landing page address and copies them onto the links that lead to your BuyGoods offer. That is how the ad ID travels with the visitor to BuyGoods and comes back to Cometly with the purchase. It only runs when the page address contains the parameters from Step 5, which is why those exact parameters are required.Next steps
- Configure your Ads Manager to show the BuyGoods metrics
- Configure the Meta Conversion API
- Use the Events Log to inspect incoming BuyGoods postbacks
- Troubleshoot BuyGoods sales that do not show in Cometly
- Connect ad platforms and ad accounts