English | 中文
With Dynamic Tag Manager, you can dynamically update tracking tags on a web-based UI to track specific events and report data to third-party analytics platforms, tracking your marketing activity data as needed.
This demo shows you how to track purchase events and report data, helping you integrate Dynamic Tag Manager quickly.
For more details, please refer to Development Guide.
Before you start developing an app, configure your app information in AppGallery Connect.
- Register as a developer.
Register a HUAWEI account.
- Create an app.
Create an app by following instructions in Creating an AppGallery Connect Project and Adding an Web App to the Project. 3. Build the demo.
(1) To build this demo, please first import the demo to Android Studio (3.X or later). Then download the agconnect-services.json file of the app from AppGallery Connect, and add the file to the app directory (\app) of the demo.
(2) Replace applicationid in the app-level build.gradle file with the package name of your app.
Android Studio 3.0 or later and JDK 1.7 or later
If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
If you have questions about how to use HMS samples, try the following options:
- Stack Overflow is the best place for any programming questions. Be sure to tag your question with
huawei-mobile-services
. - Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.
The sample code has obtained the Apache License, version 2.0.