[Huawei Developers] shikkerimath:
Conversion tracking can help you evaluate how effective your advertisements are, by analyzing whether user ad taps are converted into actions (such as browsing, registration, and purchase) that have tangible value to your business. It can also help you compare different channels and ad types, ensuring that you optimize ad placement, and improve the corresponding Return on Investment (ROI).

Here demonstrates how can we combine Dynamic Tag Manager (DTM) with HUAWEI Ads to provide next-level conversion tracking for ad landing pages.

View attachment 5215239

1. Creating a Conversion on HUAWEI Ads

Sign in to HUAWEI Ads, select Toolbox > Lead tracking, and click Add to create a conversion. Landing URL, Conversion goal, and DTM Conversion Name are all mandatory fields on the page that is displayed.

View attachment 5215241

View attachment 5215243

Notes:

l Landing URL: Enter the landing page URL to be tracked, which must be the same as that for your promotional task.

l Conversion goal: Select only one of the following conversion goals: Conversion and lifecycle, Form, Consulting, Other leads, Landing page performance, Game, Finance, and Social interaction.

l DTM Conversion Name: Enter a name related to the conversion tracking.

After entering the relevant information, click Submit to generate a conversion ID (saved for future use). Then click Using the Huawei Trace Code Manager to go to the DTM portal.

View attachment 5215245

2. Configuring Tracking Tags Through DTM

If this is your first time using DTM, you can complete all necessary preparations by following the instructions in the Development Guide. After doing so, you'll be able to configure the tracking tags via DTM.

Click Create configuration, set the Configuration name and URL, and click OK. The JavaScript code will be generated. Copy the code and embed it to all web pages to be promoted (embedding is one-off and remains valid).

View attachment 5215247

View attachment 5215249

* Screenshots are from the test app.

Before managing related configurations, make sure that you know how to use DTM. Here is an example to help familiarize you with the operations. Let's assume that you want to track the number of user taps on the shopping cart button. You'll need to configure the conversion tracking for HUAWEI Ads into DTM. The trigger condition for the tracking is that the user taps the shopping cart button to go to the payment page. In this case, the following configurations should be implemented:

l Trigger condition: The user taps the shopping cart button, which triggers the tag to send the conversion tracking information.

l Tag: Use the built-in HUAWEI Ads conversion tracking tag and enter the conversion ID. When the trigger condition is met, the tag will be triggered to send the conversion information to HUAWEI Ads.

The detailed operations are as follows:

(1) Managing variables

l Click Variable > Configure preset variable on the DTM portal. Then select Page element > Element Text. For more information, please refer to Variable Management.

(2) Managing conditions

Click Condition > Create on the DTM portal. In the dialog box displayed, set Type to All elements, Trigger to Some clicks, Variable to Element Text, Operator to Equals, and Value to shopping cart. For more information, please refer to Condition Management.

View attachment 5215251

View attachment 5215253

(3) Managing tags

Configure the destination to which data is sent, after configuring the conditions for sending data. You can set HUAWEI Ads as the destination.

Click Tag > Create on the DTM portal. In the dialog box displayed, set Extension to HUAWEI Ads, Tracking ID to the above-created conversion ID, and Trigger condition to Clickshoppingcart, so that you can track the number of shopping cart button taps. For more information, please refer to Tag Management.

View attachment 5215255

View attachment 5215257

Conversion tracking is ready to go as soon as you have released a new configuration version. When a user taps the shopping cart button, an event will be reported to HUAWEI Ads, on which you can view the conversion data.

The evaluation of the ad conversion effects includes but is not limited to checking whether users place orders or make purchases. All expected high-value user behaviors, such as account registrations and message consulting, can be regarded as preparations for conversion. You can also add trigger conditions when configuring tags on DTM to suit your needs.

In addition, if the data provided by HUAWEI Ads does not end up helping you optimize your ad placement, after an extended period of time with an ad, you can choose to add required conditions directly via the tag management page on the DTM portal to ensure that you have a steady stream of new conversion data. This method provides for unmatched flexibility, and spares you from the need to repeatedly add event tracking. With the ability to add tracking events and related parameters via visual event tracking, you'll enjoy access to a true wealth of data.

The above is a brief overview for how DTM can help you track conversion data for landing pages. The service endows your app with powerful ad conversion tracking function, without even requiring the use of hardcoded packages.

To learn more about DTM, please visit:

l HUAWEI Developers

l Development Documentation

l Reddit to join the developer discussion

l GitHub to download the demo and sample code

l Stack Overflow to resolve integration-related issues