Web Page Conversion Tracking in HUAWEI Ads and DTM (Part 1)

Manoj Kumar
4 min readJun 14, 2021

--

More and more advertisers are using HUAWEI Ads to promote their apps or web pages in order to attract more users and increase revenue. This article introduces how to track clicks and conversion rates of ads delivered using HUAWEI Ads. HUAWEI Ads works with Dynamic Tag Manager (DTM) to help you easily track conversions on web pages, as well as ad performance.

First of all, what is ad conversion tracking?

Let’s use Huawei Vmall as an example. Ads for Vmall are served by HUAWEI Ads. After a user clicks such an ad to access Vmall, user actions, such as adding products to the shopping cart and purchasing products, on one or more in-app pages in a given period (30 days in general) will be tracked.

Now, let’s take a look at ad conversion.

When a user clicks an ad to access Vmall and purchases a product in Vmall, this is considered as an ad conversion because a user has been converted into a paying user.

Next, let’s see how to configure conversion tracking for web pages in DTM.

You can configure conversion tracking for landing pages, across web pages, or across domains and select an appropriate tracking mode for each scenario in DTM. The configuration involves the following steps:

1. Configuration preparations

2. Conversion tracking for landing pages

3. Cross-page conversion tracking for a single domain

4. Cross-domain conversion tracking

First, you need to perform the following operations before configuring conversion tracking:

1. Register a HUAWEI ID.

2. Register a HUAWEI Ads account.

3. Embed the JavaScript code obtained from DTM into the web page to be tracked.

Procedure:

Step 1 Access AppGallery Connect and register a HUAWEI ID.

Step 2 Access HUAWEI Ads and register an account.

You can use your HUAWEI ID to register a HUAWEI Ads account.

Step 3 Embed the JavaScript code obtained from DTM into the web page to be tracked.

1. Add a web app.

Sign in to AppGallery Connect, select My projects, click Add project, enter a project name, and click OK.

Click Add app. On the page displayed, select Web for Platform, set App name, and click OK.

2. Create a configuration in DTM.

In AppGallery Connect, go to Grow > Dynamic Tag Management.

Click Enable Dynamic Tag Manager. In the dialog box displayed, set Configuration name and URL, and click OK. Embed the generated JavaScript code snippet into all web pages to be promoted. The code needs to be embedded only once and will be valid indefinitely.

Step 4 Use Google Tag Manager (GTM) to embed the DTM-Web tracking code snippet.

During version development, it is unpractical to modify the code snippet and release it to the live network immediately. So, how can the code snippet be embedded into web pages without version release?

As many web pages integrate GTM, you can use it to embed the DTM code. The detailed configuration process is as follows:

1. Sign in to GTM and select the container corresponding to the web page to track.

2. Create a tag.

Go to Tags > New. On the page displayed, set Tag Type to Custom HTML and copy the DTM code snippet to the HTML area. Set Firing Triggers to Page View, enter a tag name, and click Save.

3. Create and release a version.

Click Submit. On the page displayed, select Publish and Create Version, enter a version name, and click Publish.

You have now completed the necessary preparations for configuring conversion tracking for web pages.

To learn more, please visit:

>> HUAWEI Developers official website

>> Development Guide

>> Reddit to join developer discussions

>> GitHub or Gitee to download the demo and sample code

>> Stack Overflow to solve integration problems

--

--

Manoj Kumar
Manoj Kumar

No responses yet