Mgid Integration
Updated over a week ago

Step 1. Setting Up Tracking in MGID

To set up conversion tracking in MGID, first you need to start a new Campaign. Follow the path Advertisers > Add Campaign on MGID Dashboard.

Navigate the Tracking Tags tab and make sure the slider is on. Tick the Add custom tracking tag. By default, it’s {click_id}.

To obtain a Postback URL for MGID, go further to the Conversions Sensors tab. There you need to specify the event type. Let’s say, you want to track conversions for buying. So here is an example of the form for this case:

It is desirable to specify your advertising campaign ID after the action name so that we can identify clicks on your advertising campaign in the system. This number can be found at the bottom of the page in the left side. You must 1st time to save your company without this numbers, than you need to going to the “campaign Settings " section with the gear icon and to put correct goal with unique campaign ID

The postback URL for this event type might look like this: http://a.mgid.com/postback?c={external_id}&e={conversion}123456&r={payout}.

Revenue is optional and can be omitted Copy that postback. Where 123456 - your unic campaign id numbers.

Step 2. Adding MGID as a Source in Peerclick

Start with adding MGID to the list of your Sources. Navigate the Sources Tab and click a New button. Choose MGID from the catalog Load from templates and press Add. Copy the Postback URL from Step 1 and paste him to Postback field. Also you must to check the checkbox Enable postback.


All the available macros are already included.

Step 3. Creating a Campaign in PeerClick

When you start set up the campaign in the PeerClick you must already have prepared an offer, which u will add in the campaign.

Creating a Campaign in PeerClick

1. Go to the Campaigns tab.

2. Click +New.

3. Give a name to your campaign in the Campaign name field.

4. From the Traffic source drop-down menu select the traffic source that you have previously created.

5. Select the cost model in the Cost type section. If you have selected to track costs with one of the four cost models (CPC, CPM, CPA, RevShare), you might need to provide the cost value in the Number of cost field. You can update the values you set at any moment using the Update cost function.

6. If you want to use a lander, click on + Add lander and choose from the drop-down menu.

7. Choose Direct linking if you don’t want to use a lander page.

8. Click + Offer to choose offers from the list.

Your Campaign URL will be generated at the Tracking section of the campaign automatically. Copy the link to clipboard. Here is the example of the link with the added tokens:

Did this answer your question?