Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
922b7bd1
Commit
922b7bd1
authored
Oct 05, 2019
by
Lawrence Ching
Committed by
Nicolas Giard
Oct 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Baidu Tongji analytics module (#1087)
* Support Baidu Tongji analytics module * fix: baidutongji logo + props
parent
329e9872
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
code.yml
server/modules/analytics/baidutongji/code.yml
+11
-0
definition.yml
server/modules/analytics/baidutongji/definition.yml
+13
-0
No files found.
server/modules/analytics/baidutongji/code.yml
0 → 100644
View file @
922b7bd1
head
:
|
<!-- Baidu Tongji -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?{{propertyTrackingId}}";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
server/modules/analytics/baidutongji/definition.yml
0 → 100644
View file @
922b7bd1
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment