An open API service indexing awesome lists of open source software.

https://github.com/hms-core/hms-dtm-demo-web

HMS DTM demo provides guidance for developers how to use HMS Dynamic Tag Manager Service.It illustrates how to track specific events and report data to third-party analytics platforms and monitoring your marketing activity data as needed.
https://github.com/hms-core/hms-dtm-demo-web

dtm dynamic-tag-management hms hmscore web

Last synced: about 1 year ago
JSON representation

HMS DTM demo provides guidance for developers how to use HMS Dynamic Tag Manager Service.It illustrates how to track specific events and report data to third-party analytics platforms and monitoring your marketing activity data as needed.

Awesome Lists containing this project

README

          

# HMS DTM(Dynamic Tag Manger) Sample for Web

[![hms](https://img.shields.io/badge/hms-dtm-brightgreen)](https://developer.huawei.com/consumer/en/doc/development/HMS-References/3021004)

English | [中文](README_ZH.md)

## Table of Contents

* [Introduction](#introduction)
* [Getting Started](#getting-started)
* [Installation](#installation)
* [Configuration ](#configuration)
* [Supported Environments](#supported-environments)
* [Result](#result)
* [License](#license)

## 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](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/introduction-0000001050043907).

## Getting Started
Before you start developing an app, configure your app information in AppGallery Connect.
1. Register as a developer.
Register a [HUAWEI account](https://developer.huawei.com/consumer/en/doc/20300).

2. Create an app.
Create an app by following instructions in [Creating an AppGallery Connect Project](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-get-started-web#h1-1594605371607) and [Adding an Web App to the Project](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-get-started-web#h1-1594605413814).

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

## Configuration
To experience DTM, visit [Codelab](https://developer.huawei.com/consumer/en/codelab/HMSDTMKit-Web/index.html#0).

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](https://www.reddit.com/r/HuaweiDevelopers/) 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](https://stackoverflow.com/questions/tagged/huawei-mobile-services) is the best place for any programming questions. Be sure to tag your question with
`huawei-mobile-services`.
- [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001) 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](https://github.com/HMS-Core/hms-dtm-demo-web/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-dtm-demo-web/pulls) with a fix.

## License
DTM sample for web is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).