Skip to content

Add growingio analytics#354

Merged
sli1989 merged 3 commits intotheme-next:masterfrom
lancelot-lewis:master
Oct 25, 2018
Merged

Add growingio analytics#354
sli1989 merged 3 commits intotheme-next:masterfrom
lancelot-lewis:master

Conversation

@lancelot-lewis
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes have been added (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs have been added / updated (for bug fixes / features).

PR Type

What kind of change does this PR introduce?

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build related changes.
  • CI related changes.
  • Documentation content changes.
  • Other... Please describe:

What is the current behavior?

Issue Number(s): N/A

What is the new behavior?

Add a analytics service just as Baidu Analytics or Google Analytics

* Screens with this changes: N/A
* Link to demo site with this changes: N/A

How to use?

In NexT _config.yml:

growingio: [your growingio ID]

Does this PR introduce a breaking change?

  • Yes.
  • No.

@sli1989
Copy link
Collaborator

sli1989 commented Jul 17, 2018

The official website need to be added, for example: See more: https://docs.growingio.com/sdk-integration/sdk-2.x-docs/

@sli1989 sli1989 added this to the v6.4.0 milestone Jul 17, 2018
_config.yml Outdated
#baidu_analytics:

# Growingio Analytics ID
#growingio:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here need copyright.

@@ -0,0 +1,11 @@
{% if theme.growingio %}
<!-- GrowingIO Analytics code version 2.1 -->
<!-- Copyright 2015-2018 GrowingIO, Inc. More info available at http://www.growingio.com -->
Copy link
Member

@ivan-nginx ivan-nginx Jul 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need copyright here for better SEO.

@@ -1,5 +1,6 @@
{% include 'facebook-sdk.swig' %}
{% include 'vkontakte-api.swig' %}
{% include 'growingio.swig' %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems GA, Baidu and AI bigger services than growingio. So, only after that it must be included.

@ivan-nginx ivan-nginx removed this from the v6.4.0 milestone Aug 1, 2018
@sli1989 sli1989 self-requested a review October 10, 2018 14:13
@sli1989 sli1989 added this to the v6.5.0 milestone Oct 23, 2018
@sli1989 sli1989 merged commit 12d9143 into theme-next:master Oct 25, 2018
@stevenjoezhang
Copy link
Contributor

stevenjoezhang commented Oct 29, 2019

Need to create docs here: https://github.com/theme-next/theme-next.org/blob/source/source/docs/third-party-services/statistics-and-analytics.md

GitHub
The website for NexT. Contribute to theme-next/theme-next.org development by creating an account on GitHub.

@stevenjoezhang
Copy link
Contributor

tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
* 添加 growingio 数据统计分析

* update content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants