Skip to content
English
  • There are no suggestions because the search field is empty.

Adform Tracker Integration in MGID Ads

Implement MGID Tracking Code
Pass MGID click_id to the Landing page
Advertiser Uses  the Adform Only
Advertiser Uses Several Click-Tracking Platforms
Other Cases With Advanced Settings
Setting up Event-Based Conversions


Implement MGID Tracking Code

As a first step, a client has to place MGID Pixel code on all the pages through the funnel. If the client can't place it on every page, it must be placed at least on a landing page and the page where the final conversion happens. 

Our Pixel code can be found in the admin panel or in the Dashboard when setting up tracking for a campaign.

If you want to track even-based conversions, please navigate to the Event-based conversions part of this guide.

Pass MGID click_id to the Landing page

"click_id" is a unique identifier generated automatically when a user clicks on an MGID ad on a website. 

MGID click identifier should be passed in adclid parameter to the landing page.
Depending on the case, there may be a couple of ways to pass the MGID click identifier. The main thing is to determine which case you are working with:

  • аdvertiser using only the Adform or 
  • several click-tracking platforms

To determine the case, you can use third-party services showing if there are redirects anywhere other than Adform. 

Put the Adform client link and click on the "Trace URL" button. 

For example, this screenshot shows redirects to Adform only and the landing page.

Adform_1

Advertiser Uses  the Adform Only

In this case, if an Advertiser uses the Afdorm only, we need to modify the Adform tracking URL and add an additional parameter cpdir that will include the landing page URL with adclid parameter and {click_id} macro added.

Example: 

You can use the Adfrom link compiler for this case: https://docs.google.com/spreadsheets/d/1UMfNNM49EaFsaE2DGYYSHpT6dEs-r2TlcaVN0Mz6euU/edit#gid=995962828

Advertiser Uses Several Click-Tracking Platforms

In this case, an Advertiser uses several click-tracking platforms, after Adform redirects there is an additional click-tracking URL of other platforms, like Adobe, Google Ad Manager, or others.
Most platforms include the final landing URL as a last parameter in the link. 

The advertiser needs to add an additional parameter adclid= in the link to the final landing URL in the tracking system they use. In the MGID system, we have to add the urlappend={click_id} parameter to the Adform tracking link. 

Example: 

Other Cases With Advanced Settings

When, for example, the final landing URL is dynamic, the client will still need to modify links in Adform and add adclid parameters to the landing URL. 

In this case, adfm_clickid is a macro that will be replaced with click_id value. 

Example: 

Setting up Event-Based Conversions

Start by creating an event-based conversion in the MGID Dashboard.

1. While setting up a campaign, navigate to the Conversion tracking section.

2. Select the MGID Pixel option in the Tracking Methods tab. Select how to add pixel: Manually. Then, click Get pixel code.

2. adform_dec

3. adform_dec

3. Ensure that the Pixel JavaScript code is placed in the source code for all targeted pages, starting from your Landing Page and ending with the Target page (e.g., “thank you”) of the promoted website. 

 

4. Then scroll down to conversion goal creation. Select Event in the Goal type and name the event. 

For the Event goal type, simply enter the event name and the system will automatically generate the Page load and Click-based tracking codes.

4. adform_dec

5. Copy the Click-based tracking code (onclick). This code tracks clicks on specific page elements (e.g., buttons or links).

Then, to track the button click event, add the click event code to the relevant HTML element.

Note that the event name in the Dashboard has to be the same as in the event code.

6. Put the final Adform link to the MGID platform.