Skip to main content
All CollectionsIntegrationsMaxweb
Maxweb Integration Setup
Maxweb Integration Setup

Learn how to setup the Maxweb integration to track purchases back to the correct ads.

Updated over a week ago

Start Here 👋

This article will help you setup the Maxweb integration with Cometly. Please follow the instructions in the video below for the quickest setup and make sure you read through the important setup steps and watch all instructional videos to ensure Cometly is tracking correctly.

Important: Ignore the Getting Started section in Cometly if you want to track Maxweb sales data. Maxweb has a specific setup and uses specific UTM parameters found in this article. Follow this article step-by-step for implementation.


Understand the metrics you will track

Our Maxweb Integration will track the following metrics:

Please view the table below to understand how Cometly tracks key Maxweb metrics.

Unfortunately you are not able to track Initiate Checkouts for Maxweb at this time. Initiate Checkouts are available with our BuyGoods and ClickBank integrations.

Maxweb Metrics

Cometly Metrics

Visitors

View Content

Purchase

Purchase

LP CTR (Landing page click-through rate)

  • View Content - visitors that visit your Maxweb VSL/TSL

  • Purchase - visitors who purchased and your commission amount

  • Upsell Purchase - the number of such transactions that are upsells during checkout

  • Upsell Revenue - a subset of your total sales revenue. It specifically accounts for the revenue generated from upsells in your funnel, or when they add extra items to their purchase.

    • Gross Revenue is the total revenue generated. Upsell Revenue is automatically included in the Gross Revenue. When you calculate your Gross Revenue, you're aggregating all income from sales, and this naturally includes the additional revenue gained from upsells. In other words, Upsell Revenue is a component that contributes to the overall Gross Revenue figure.

  • Cost Per Upsell - a metric that calculates the average advertising expenditure required to generate one upsell purchase. It is determined by dividing the total amount spent on ads by the number of upsell purchases achieved.

  • LP CTR - LP CTR or (Landing Page CTR %) is the total number of view content events divided by the number of link clicks.

Pro Tip: Now that you have an understanding of the metrics you will be using within Cometly, make sure you configure your Ads Manager to reflect these metrics.


Step 1: Add the Cometly Postback URL to Maxweb

In this step you are going to retrieve the Maxweb Postback URL from within your Cometly account and add to your Maxweb account.

Navigate to the Integrations page in Space Settings and choose Maxweb as your integration:

Click Activate Maxweb

Copy the Postback URL

Login to your Maxweb account and navigate to your "AffOverview" page. You can navigate here by clicking the below link:

Once you are on that page, in the top right corner, click your name and then click "Postback Pixels"

On the postback Pixels page, click 'Add new'

Paste in the Cometly Postback URL, make sure the Status is "Active" and the Event is "Purchase" and then click "Save"

Step 2: Add scripts to your landing page

You need to add the scripts below to your landing page. You can add the scripts to any landing page builder as long as they have the option to add scripts to the <head> and <footer> or <body> of the landing page. You will also edit your offer URL to setup the BuyGoods conversion API in this step.

If you are using ClickFunnels for your landing page, while in the editor for the funnel step, click 'Settings' > 'Tracking Code'.

Footer Codes:

Add the following scripts below to the </> FOOTER CODE section:

*Passes parameters to the VSL offer page

<script src="https://app.cometly.com/affiliate/maxweb"></script>

*Enables the Maxweb conversion API

<script type="text/javascript" src="https://maxweb.com/js/mw-fbclid.js"></script>

*Automatically fires a View Content event when a Maxweb offer link is clicked

<script>
document.querySelectorAll('a[href*="https://mweblinx.com"]').forEach(function(link) {
link.addEventListener('click', function() {
comet('view_content');
});
});
</script>

Header Codes:

Add your Cometly base code and your Facebook pixel code to the </> HEADER CODE section:

Login to your Cometly account, and click 'Getting Started' on the left and then Copy the code under "Step 1"

Install the Cometly base code pixel into the <head> section on your landing page.

Set Up Conversion API Parameter to send the fbclid (facebook click id)

Configure the setup below anywhere your offer URL is present. You should link any buttons or images on your landing page that contain the offer URL.

* the example below shows the Maxweb offer URL on the button and the image.

To set up the conversion API in Step 6, you need to add &fb=1 to you offer URL:

Here is an example:

(do not add the link below to your landing page, it is just an example of what your link should look like)

https://glucofortnow.com/g-gluco/index.php?aff_id=XXXXX&fb=1

Install Meta pixel in the <head> code of your landing page

Ensure you have installed the Meta pixel to the <head> code in your landing page. The Meta pixel should be ABOVE the Cometly base code pixel.

Step 3: Add URL parameters to your ads for traffic going to Maxweb offers

Maxweb has a specific setup and uses specific UTM parameters found in this article. Follow this article step-by-step for implementation.

The following URL parameters are required for tracking Maxweb purchases with Cometly:

Meta

Copy/paste the below URL parameters to your Meta ads in the "URL Parameter" box located in the Tracking section at the ad level:

subid={{ad.id}}&c_ad_id={{ad.id}}&c_source=facebook&comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}

TikTok

Add the following URL parameters to your Website URL:

subid=__CID__&c_ad_id=__CID__&c_source=tiktok&comet_source=tiktok&comet_ad_id=__CID__

Google

Cometly needs the following URL parameter code attached to the end of every Website URL in the 'Tracking Template' section of each of your regular Google ad campaigns that are not Smart Campaigns:

{lpurl}?subid={{ad.id}}&c_source=google&c_ad_id={creative}&comet_source=google&comet_network={network}&comet_campaign={campaignid}&comet_ad_group={adgroupid}&comet_ad_id={creative}&comet_keyword={keyword}

To set these up inside the Google Ads manager, navigate to Settings > Campaign Settings and select the campaigns that you want to track with Cometly. Then click Edit > Change tracking templates.

Change Tracking Template In Google Ads

Then you should see a box labeled New tracking template and this is where you will need to place the UTM parameters listed above.

New Tracking Template In Google Ads

Once those parameters have been pasted, you can click "Apply" to apply those changes.

Step 4: Connect your ad accounts

Connect your ad accounts to Cometly and assign the ad accounts to your space.

Connecting Ad Platforms to Your Account

To setup your ad tracking, connecting your ad platforms to Cometly is a key step. Here's how you can do it:

  1. Navigate to Space Settings: First, access your Cometly dashboard and head to the Space Settings page. Click on the Ad Channels tab and choose the ad platform you want to connect ad accounts for.

  2. Manage Connections: Click on the "Manage Connections" link. This action will direct you to the profile integrations page.

  3. Connect to Ad Channels: On the profile integrations page, you’ll see various ad channels listed. To connect to an ad channel, click the blue "connect" button next to the Ad Channel you wish to link.

  4. Accept on Ad Channel Platform: After clicking "connect," you'll be redirected to the respective ad channel’s platform. Here, simply click "Accept" to authorize the connection.

  5. Return to Cometly: Once you accept, you’ll be redirected back to Cometly, where the ad channel will now be connected to your account.

Connecting Ad Accounts to your space

After successfully connecting your ad channels, the next step is to link specific ad accounts to your workspace.

  1. Return to Space Settings: Go back to the Space Settings page on your Cometly dashboard.

  2. Connect Ad Accounts: You'll see a list of ad accounts. Click the green "Connect" button next to the ad account you wish to link to the workspace for a specific business.

  3. Confirmation: Once clicked, the ad account will be connected to your workspace, and you're ready to start managing your ads through Cometly.

Your Cometly space is now fully set up with connected ad platforms and accounts.

Step 5: Import active campaigns and turn on tracking

Cometly only tracks data from NEW ad campaigns that you've created AFTER setting up your Cometly account. In order to track old campaigns, you need to toggle tracking on for those campaigns using the Import Campaigns feature in the app.

The Import Campaigns page is a tool that allows Cometly to track existing campaigns that were created before you had Cometly. Cometly cannot track retroactively, so all metrics will be tracked starting at the moment that you turn tracking “ON”.

This action only has to be done when you first connect an ad account to your Cometly space. Every campaign that you launch after you import your active campaigns will automatically track inside Cometly.

Important: After turning tracking on, it can take 30-60 minutes for your data to start appearing inside of Cometly.

Follow the steps below to find out how to turn tracking “ON” for existing campaigns:

Navigate to the Import Campaigns tab in Space Settings

Select the ad account containing the campaigns that you wish to track

Select the campaign status “ALL”

  • If you select “Tracking”, the Import Campaigns page will only populate the campaigns that you have already turned on tracking for

  • If you select “Not Tracking”, the Import Campaigns page will populate all of the campaigns that you have not turned on tracking for

Select the date range

The Import Campaigns page will pull in all of the campaigns in your selected ad account that you launched between your "start date" and your "end date."

  • The start date should be from BEFORE you launched the oldest ad you wish to track (i.e. If your oldest ad was launched 30 days ago, pick a start date of 31 days ago)

  • The end date should be today’s date

Click the “Update” button, and turn tracking “ON” for your campaigns that you wish to track with Cometly

PRO TIP: If you click the top bar where it says “Delivery”, all of your “Active” campaigns will be filtered to the top.

If you see red dots next to your campaigns after the first data refresh (wait 60 minutes), you likely have an issue with your UTM configuration on your ads.

Step 6: Configure Conversion API's to send Purchase data to the ad platforms

Turning on the conversion API in your Cometly space will automatically send event data back to Meta.

Setup Cometly Conversion API

In your Cometly account, navigate to Space Settings, click Events Manager and click "Configure Conversion API"

Toggle 'ON' the conversion API

Setup Maxweb Conversion API

Please follow the steps on Maxweb Help Article to further set up the conversion API inside BuyGoods. This must be setup to send enhanced Purchase conversions to Meta and Google.

Did this answer your question?