Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add site metrics #3

Open
onthebreeze opened this issue Mar 8, 2019 · 3 comments
Open

Add site metrics #3

onthebreeze opened this issue Mar 8, 2019 · 3 comments
Assignees

Comments

@onthebreeze
Copy link
Contributor

Add a table something like the one below to https://edi3.org/community/ page under "Site Metrics". For now the metrics can be manually gathered and maintained as a little JSON file in this repository - and rendered by jekyll

Metric last week total
unique visitors 90 245
registered members 4 34
chat message count 655 2,345
site updates 63 334
issues 12 452

Most active repository : Inter customs ledger
Most active contributor : monkeypants

Detailed analytics links

  • Google site metrics
  • Slack team metrics
  • Github project metrics
@kshychko
Copy link
Contributor

kshychko commented Mar 8, 2019

@webilhan , please check the sample below:

{
	"metrics": [
		{
			"name": "unique visitors",
			"lastWeek": 90,
			"total": 245
		},
		{
			"name": "registered members",
			"lastWeek": 4,
			"total": 34
		},
		{
			"name": "chat message count",
			"lastWeek": 655,
			"total": 2345
		},
		{
			"name": "site updates",
			"lastWeek": 63,
			"total": 334
		},
		{
			"name": "issues",
			"lastWeek": 12,
			"total": 452
		}
	],
	"mostActive": [
		{
			"type": "repository",
			"value": "Inter Customs Ledger"
		},
		{
			"type": "contributor",
			"value": "monkeypants"
		}
	],
	"links": [
		{
			"text": "Google site metrics",
			"url": ""
		},
		{
			"text": "Slack team metrics",
			"url": ""
		},
		{
			"text": "Github project metrics",
			"url": ""
		}
	]
}

@webilhan
Copy link
Contributor

@kshychko Added rendering data from JSON data. JSON should be stored at _data/metrics.json. Please proceed with real data.

@monkeypants
Copy link
Contributor

@kshychko are you blocked on this? what does this ticket need to proceed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants