{"id":22441381,"url":"https://github.com/hms-core/hms-dtm-demo-android","last_synced_at":"2025-08-01T18:32:08.103Z","repository":{"id":45629358,"uuid":"264908972","full_name":"HMS-Core/hms-dtm-demo-android","owner":"HMS-Core","description":"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.","archived":false,"fork":false,"pushed_at":"2022-11-18T15:48:33.000Z","size":451,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-04-16T12:54:17.261Z","etag":null,"topics":["android-studio","dtm","dtm-sample","dynamic-tag-manager","hms","multi-analysis-platform"],"latest_commit_sha":null,"homepage":"https://developer.huawei.com/consumer/cn/hms/huawei-dynamic-tag-manager","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HMS-Core.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-18T10:43:42.000Z","updated_at":"2024-04-16T12:54:17.262Z","dependencies_parsed_at":"2022-07-17T09:16:16.924Z","dependency_job_id":null,"html_url":"https://github.com/HMS-Core/hms-dtm-demo-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-dtm-demo-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-dtm-demo-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-dtm-demo-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HMS-Core%2Fhms-dtm-demo-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HMS-Core","download_url":"https://codeload.github.com/HMS-Core/hms-dtm-demo-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228397819,"owners_count":17913540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-studio","dtm","dtm-sample","dynamic-tag-manager","hms","multi-analysis-platform"],"created_at":"2024-12-06T02:14:20.200Z","updated_at":"2024-12-06T02:14:20.671Z","avatar_url":"https://github.com/HMS-Core.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HMS Dynamic Tag Manager(DTM) Sample for Android\r\n\r\n[![hms](https://img.shields.io/badge/hms-dtm-brightgreen)](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/introduction-0000001050043907) \r\n\r\nEnglish | [中文](README_ZH.md)\r\n\r\n## Table of Contents\r\n\r\n * [Introduction](#introduction)\r\n * [Getting Started](#getting-started)\r\n * [Supported Environments](#supported-environments)\r\n * [Result](#result)\r\n * [License](#license)\r\n\r\n## Introduction\r\nWith 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.\r\n\r\nThis demo shows you how to track purchase events and report data, helping you integrate Dynamic Tag Manager quickly. \r\n\r\nFor more details, please refer to [Development Guide](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/introduction-0000001050043907).\r\n\r\n## Getting Started\r\nBefore you start developing an app, configure your app information in AppGallery Connect.\r\n1. Register as a developer.\r\n\r\nRegister a [HUAWEI account](https://developer.huawei.com/consumer/en/doc/start/registration-and-verification-0000001053628148).\r\n\r\n2. Create an app.\r\n\r\nCreate 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#h1-1587521853252) and [Adding an Web App to the Project](https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-get-started#h1-1587521946133).\r\n3. Build the demo.\r\n\r\n(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. \r\n\r\n(2) Replace **applicationid** in the app-level **build.gradle** file with the package name of your app.\r\n\r\n## Supported Environments\r\nAndroid Studio 3.0 or later and JDK 1.7 or later\r\n\r\n## Result\r\n\u003cimg src=\"result_1.png\" width = 60% height = 60%\u003e\r\n\r\n## Question or issues\r\nIf you want to evaluate more about HMS Core,\r\n[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.\r\n\r\nIf you have questions about how to use HMS samples, try the following options:\r\n- [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 \r\n`huawei-mobile-services`.\r\n- [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.\r\n\r\n## License\r\nThe sample code has obtained the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-dtm-demo-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhms-core%2Fhms-dtm-demo-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhms-core%2Fhms-dtm-demo-android/lists"}