Find your app project, and click the desired app name.
Go to Grow > Dynamic Tag Manager. On the page displayed, click Enable HUAWEI Analytics to enable the HUAWEI Analytics service.
If you have enabled the HUAWEI Analytics service, click Enable Dynamic Tag Manager. In the dialog box displayed, enter a configuration name, and set Operation record.
Click OK. The Configuration tab page is displayed, asking you to install the DTM-Web tracking code snippet.
View the created configuration on the Configuration page.
Copy the tracking code snippet to the top of the page <head> block so that it can take effect immediately. The screenshot below shows an example.
Start your web server. (If you do not have a proper web server, please refer to Software Requirements.)
Creating a Variable
Click Configure on the Variable tab page.
On the Configure preset variable page displayed, select the preset variable to be created and click OK.
Click Create on the Variable tab page. On the Create custom variable page displayed, enter GA in the Name text box, set Type and other parameters, and click Save.
Creating a Condition
Click Create on the Condition tab page.
On the Create condition page displayed, enter a condition name, select a condition type, and set other related parameters.
Set Variable, Operator, and Value for a trigger if you select a condition type and set Trigger to Some xx (for example, Some clicks). You can click Add to add multiple triggers.
Creating a Tag
Click Create on the Tag tab page.
On the Create tag page displayed, enter a tag name, select a tag extension template, and set other related parameters.
On the Create tag page, set Trigger condition and Exception condition for the tag.
When the specified trigger condition is met, events will be reported to the analytics platform.
When the specified exception condition is met, events will be blocked and not be reported to the analytics platform.
Creating a Version
Click Create on the Version tab page.
In the Create version dialog box displayed, set Name and Description, and click OK.
Releasing a Version
Click Release on the Version details page.
Confirm the information in the dialog box and click OK.
View the released version and its release time on the Version tab page.
Triggering an Event
Open the Chrome browser, enter the demo web app URL in the browser address box, and press Enter.
Click in the toolbar of the Chrome browser to start Tag Assistant, and click Enable.
Refresh the web page, click the click here button to trigger tag execution, and click the Tag Assistant icon in the browser toolbar. If information in the screenshot below is displayed, the relevant event has been triggered and reported.