Add support for tencent analytics. #603

Merged
merged 1 commit into from Jan 15, 2016

Conversation

Projects
None yet
3 participants
@cissoid

cissoid commented Jan 14, 2016

Google analytics 虽好,在大陆总有一层墙的问题。
百度统计虽然很多人用,但相信总有越来越多的人因为百度的持续性作死而放弃使用其全部产品。
所以希望加上对腾讯统计的支持,another choice :)

iissnan added a commit that referenced this pull request Jan 15, 2016

Merge pull request #603 from Cissoid/master
Add support for tencent analytics.

@iissnan iissnan merged commit c1b6cbe into iissnan:master Jan 15, 2016

1 check passed

hound No violations found. Woof!
@iissnan

This comment has been minimized.

Show comment
Hide comment
@iissnan

iissnan Jan 15, 2016

Owner

Thanks. 👍

Owner

iissnan commented Jan 15, 2016

Thanks. 👍

@tc9011

This comment has been minimized.

Show comment
Hide comment
@tc9011

tc9011 Oct 31, 2016

您好,请问一下为什么用腾讯分析会报错?
错误信息如下:
ERROR Theme config load failed.
ERROR Process failed: _config.yml
YAMLException: bad indentation of a mapping entry at line 319, column 2:
tencent_analytics: XXXXXXXX
^
at generateError (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:162:10)
at throwError (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:168:9)
at readBlockMapping (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1074:7)
at composeNode (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1326:12)
at readDocument (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1488:3)
at loadDocuments (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1544:5)
at Object.load (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1561:19)
at Hexo.yamlHelper (/Users/MAC/hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15)
at Hexo.tryCatcher (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Hexo. (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/method.js:15:34)
at /Users/MAC/hexo/node_modules/hexo/lib/hexo/render.js:61:21
at tryCatcher (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:148:10)
at Immediate.Async.drainQueues as _onImmediate
at processImmediate as _immediateCallback

tc9011 commented Oct 31, 2016

您好,请问一下为什么用腾讯分析会报错?
错误信息如下:
ERROR Theme config load failed.
ERROR Process failed: _config.yml
YAMLException: bad indentation of a mapping entry at line 319, column 2:
tencent_analytics: XXXXXXXX
^
at generateError (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:162:10)
at throwError (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:168:9)
at readBlockMapping (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1074:7)
at composeNode (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1326:12)
at readDocument (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1488:3)
at loadDocuments (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1544:5)
at Object.load (/Users/MAC/hexo/node_modules/hexo/node_modules/js-yaml/lib/js-yaml/loader.js:1561:19)
at Hexo.yamlHelper (/Users/MAC/hexo/node_modules/hexo/lib/plugins/renderer/yaml.js:7:15)
at Hexo.tryCatcher (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Hexo. (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/method.js:15:34)
at /Users/MAC/hexo/node_modules/hexo/lib/hexo/render.js:61:21
at tryCatcher (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/Users/MAC/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:148:10)
at Immediate.Async.drainQueues as _onImmediate
at processImmediate as _immediateCallback

@cissoid

This comment has been minimized.

Show comment
Hide comment
@cissoid

cissoid Nov 2, 2016

@tc9011 看错误信息像是这一行之前的配置有缩进问题.

cissoid commented Nov 2, 2016

@tc9011 看错误信息像是这一行之前的配置有缩进问题.

@tc9011

This comment has been minimized.

Show comment
Hide comment
@tc9011

tc9011 Nov 2, 2016

iissnan:

您好,谢谢指导,这个问题已经解决了,确实是缩紧问题。

我还有2个问题向您请教:

1、为什么多说评论本地调试博客的时候出现了,推送到github后,用网址打开就不可以了呢?这个问题至今没解决~

2、腾讯统计为什么不能显示,不蒜子倒是可以显示。

博客源码在https://github.com/tc9011/BlogBackUp;

如能帮忙看一下,不胜感激。

谢谢!

汤诚

在2016年11月02日 17:12,cissoid 写道:

@tc9011 看错误信息像是这一行之前的配置有缩进问题.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

tc9011 commented Nov 2, 2016

iissnan:

您好,谢谢指导,这个问题已经解决了,确实是缩紧问题。

我还有2个问题向您请教:

1、为什么多说评论本地调试博客的时候出现了,推送到github后,用网址打开就不可以了呢?这个问题至今没解决~

2、腾讯统计为什么不能显示,不蒜子倒是可以显示。

博客源码在https://github.com/tc9011/BlogBackUp;

如能帮忙看一下,不胜感激。

谢谢!

汤诚

在2016年11月02日 17:12,cissoid 写道:

@tc9011 看错误信息像是这一行之前的配置有缩进问题.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

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