From 922b7bd1bdadec6a0e21023bfa65dbbef3806d36 Mon Sep 17 00:00:00 2001 From: Lawrence Ching Date: Sat, 5 Oct 2019 05:07:54 +0800 Subject: [PATCH] feat: Baidu Tongji analytics module (#1087) * Support Baidu Tongji analytics module * fix: baidutongji logo + props --- server/modules/analytics/baidutongji/code.yml | 11 +++++++++++ server/modules/analytics/baidutongji/definition.yml | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 server/modules/analytics/baidutongji/code.yml create mode 100644 server/modules/analytics/baidutongji/definition.yml diff --git a/server/modules/analytics/baidutongji/code.yml b/server/modules/analytics/baidutongji/code.yml new file mode 100644 index 00000000..5ad69f3b --- /dev/null +++ b/server/modules/analytics/baidutongji/code.yml @@ -0,0 +1,11 @@ +head: | + + diff --git a/server/modules/analytics/baidutongji/definition.yml b/server/modules/analytics/baidutongji/definition.yml new file mode 100644 index 00000000..f64370ae --- /dev/null +++ b/server/modules/analytics/baidutongji/definition.yml @@ -0,0 +1,13 @@ +key: baidutongji +title: Baidu Tongji +description: Baidu Tongji is a web analytics service offered by Baidu that tracks and reports website traffic. +author: lawrenceching +logo: https://static.requarks.io/logo/baidu.svg +website: https://tongji.baidu.com +isAvailable: true +props: + propertyTrackingId: + type: String + title: Property Tracking ID + hint: Unique Property ID (found at the end of the tracking URL, e.g. https://hm.baidu.com/hm.js?XXXXXXXXXXXX) + order: 1