Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 2.98 KB

README.md

File metadata and controls

58 lines (40 loc) · 2.98 KB

HMS DTM(Dynamic Tag Manger) Sample for Web

hms

English | 中文

Table of Contents

Introduction

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.

For the document introducing DTM, visit Development Guide.

Getting Started

Before you start developing an app, configure your app information in AppGallery Connect.

  1. Register as a developer. Register a HUAWEI account.

  2. Create an app. Create an app by following instructions in Creating an AppGallery Connect Project and Adding an Web App to the Project.

Installation

Use a text editor, such as Notepad、WebStorm to open the demo project.

Configuration

To experience DTM, visit Codelab.

  1. Create a configuration on the DTM portal in AppGallery Connect.
  2. Insert configured JS scripts in the proper position in the head of each web app.

Supported Environments

Google Chrome

Result

At last, You can view the reported event on the third-party platform.

Question or issues

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.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

DTM sample for web is licensed under the Apache License, version 2.0.