MGID Pixel via Google Tag Manager: URL-based conversions

Follow these simple steps to set up MGID Pixel via Google Tag Manager (GTM):

  1. Open MGID Ads Dashboard and either create or edit a campaign.

1.GTM_URL

2. During the conversion tracking setup, select MGID Pixel via GTM as your preferred tracking method and save the campaign.

2.GTM_URL

Configuring Conversion Tracking in Google Tag Manager

1. Log in to your Google Tag Manager account.

After creating a GTM container for your website, the first step in configuring conversion tracking is to add the MGID Pixel code to all pages. If you have previously used the MGID Pixel template and see a notification like the one in the screenshot below, update the template before proceeding.

3.GTM_URL

2. Navigate to the Tags section and then click New.

4.GTM_URL

3. Add the Tag name (e.g., MGID Pixel) and click the pencil icon to edit the tag configuration.

5.GTM_URL

4. Navigate to the Template Gallery and enter MGID in the search bar. Then, select MGID Pixel. 

6.GTM_URL

5. Next, fill in the MGID Client ID field (locate your MGID Client ID by clicking on your profile icon within the MGID Ads dashboard) and select the Base Pixel option.

7.GTM_URL

6. In the Triggering section, choose All Pages (Page view trigger type).

8.GTM_URL

7. Click Save to save changes.

9.GTM_URL

Configuring URL-Based Conversion in Google Tag Manager

1. To create a URL-based conversion in Google Tag Manager, navigate to the Tags section and then click New.

10.GTM_URL

2. Add the Tag name and click on the pencil icon to edit the tag configuration.

11.GTM_URL

3. Navigate to the Template Gallery and enter MGID in the search bar. Then, select MGID Pixel. 

12.GTM_URL

4. Fill in the MGID Client ID field and choose the Main goal under the Event Pixel option.

This process mirrors the MGID Ads Dashboard settings — the main goal is the bottom of your funnel. You have the flexibility to define additional goals to track mid-funnel and top-funnel conversions as well.

13.GTM_URL

5. In the Triggering section, select the Page URL trigger from the list. 

If you are unable to find a suitable trigger within the list, simply click the “+” icon to create a custom trigger that fits your needs.

14.GTM_URL

6. Add the trigger name and select the Page View trigger type for it.

15.GTM_URL

7. At this stage, you need to determine which part of the link (or the entire link) will be used for the trigger. 

16.GTM_URL

8. Complete the fields as shown below, replacing the placeholders with your actual data, then click Save to confirm your settings.

Once all steps are completed, here’s how the configured tag should appear if it's set up correctly.

17.GTM_URL

To apply any changes made within your container, be sure to click Submit.

19.GTM_URL