Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":2251,"date":"2015-12-01T17:19:37","date_gmt":"2015-12-01T09:19:37","guid":{"rendered":"http:\/\/blog.unethost.com\/?p=2251"},"modified":"2015-12-01T17:21:59","modified_gmt":"2015-12-01T09:21:59","slug":"how_to_setup_piwik_to_web","status":"publish","type":"post","link":"https:\/\/blog.unethost.com\/how_to_setup_piwik_to_web\/","title":{"rendered":"piwik \u7684\u8a2d\u5b9a\u53ca\u4f7f\u7528\u6559\u5b78"},"content":{"rendered":"

\"piwik_wp\"<\/a><\/p>\n

 <\/p>\n

\u7576\u60a8\u5df2\u7d93\u5b89\u88dd\u597d piwik\u4e3b\u7a0b\u5f0f<\/a>\u5f8c\uff0c\u5c07\u5982\u4f55\u9032\u4e00\u6b65\u7684\u8a2d\u7f6e\u81ea\u5df1\u7db2\u7ad9\u5230piwik\u5167\u5462\uff1f<\/span>
\n \u6211\u5011\u4ee5
http:\/\/support.unehost.com<\/a> \u70ba\u4f8b\uff0c\u8acb\u5728\u8a73\u898b\u6211\u5011\u4e0b\u5217\u7684\u64cd\u4f5c\u8aaa\u660e\uff1a<\/span><\/p>\n

<\/p>\n

piwik\u8a2d\u5b9a\u6559\u5b78<\/span><\/h1>\n

 <\/p>\n

1.\u767b\u5165 piwik \u3002<\/span><\/p>\n

\u00a0\"piwik_setup01\"<\/a><\/p>\n

2.\u00a0 a. \u8acb\u9ede\u9078\u53f3\u4e0a\u89d2\u7684 “\u6240\u6709\u7db2\u7ad9” \u3002<\/span>
\n\u00a0\u00a0\u00a0\u00a0 b. \u53f3\u4e0b\u65b9\u6703\u51fa\u73fe”\u589e\u52a0\u4e00\u500b\u65b0\u7db2\u7ad9”\uff0c\u5728\u9ede\u9032\u53bb\u3002<\/span><\/p>\n

\"piwik_setup02\"<\/a><\/p>\n

3. \u7d30\u90e8\u8a2d\u5b9a\uff0c\u5927\u7d04\u53ea\u8981\u8a2d\u5b9a\u4e0b\u5217\u5e7e\u6a23\u5373\u53ef\u3002<\/span>
\n\u00a0\u00a0\u00a0\u00a0 \u9805\u76ee\u540d\u7a31(\u59d3\u540d)\uff0cURL(\u4e5f\u5c31\u662f\u7db2\u5740)\u3002\u00a0<\/span><\/p>\n

\"piwik_setup03\"<\/a><\/p>\n

4. \u540c\u4e00\u9801\u9762\u5f80\u4e0b\u62c9\uff0c\u5728\u8a2d\u5b9a\u4e00\u4e0b\u6642\u5340\uff0c\u5c31\u53ef\u4ee5\u5132\u5b58\u3002<\/span><\/p>\n

\"piwik_setup04\"<\/a><\/p>\n

5. \u7b2c4\u6b65\u7684\u5132\u5b58\u5f8c\uff0c\u6703\u51fa\u73fe\u525b\u525b\u7684\u8a2d\u5b9a\u597d\u7684\u7db2\u7ad9\uff0c\u9019\u6642\u8acb\u9ede\u4e0b:\u986f\u793a\u8ffd\u8e64\u7a0b\u5f0f\u78bc\u3002<\/span><\/p>\n

\"piwik_setup05\"<\/a><\/p>\n

6. \u627e\u5230 JavaScript \u8ffd\u8e64\u7a0b\u5f0f\u78bc\u9019\u4e00\u9805\uff0c\u4e00\u6574\u6bb5\u7a0b\u5f0f\u78bc\uff0c\u90fd\u8981copy\u4e0b\u4f86\u3002<\/span><\/p>\n

\"piwik_setup06\"<\/a><\/p>\n

7. \u6211\u5011\u5c31\u76f4\u63a5vim\u7de8\u8f2f<\/a>(\u6216\u662f\u7528cpanel\u6a94\u6848\u7e3d\u7ba1<\/a>)template\u4e0b\u7684footer.tpl (\u6709\u7684\u53ef\u4ee5\u7de8\u8f2f footer.html \u6216 footer.php)\uff0c\u6703\u7d81\u5b9a\u5728\u9019\u908a\uff0c\u662f\u56e0\u70ba\u9019\u500b\u662f\u6bcf\u500b\u9801\u9762\u90fd\u6703\u51fa\u73fe\u7684<\/span>\uff0c\u5343\u842c\u4e0d\u8981\u53ea\u7d81\u5728index.php\uff0c\u5426\u5247\u53ef\u80fd\u6709\u4e9b\u9801\u9762\u6703\u7d71\u8a08\u4e0d\u5230\uff0c\u9019\u6a23\u5c31\u6703\u5931\u771f\u3002<\/span><\/p>\n

\"piwik_setup07\"<\/a><\/p>\n

8. \u5b8c\u6210\u7b2c7\u6b65\u5f8c\uff0c\u56de\u5230piwki\uff0c\u9ede\u64ca\u53f3\u4e0a\u65b9\u7684”\u6240\u6709\u7db2\u7ad9”\u3002<\/span><\/p>\n

\"piwik_setup08\"<\/a><\/p>\n

9. \u5728\u76f4\u63a5\u9ede\u4e0b\uff0c\u525b\u525b\u8a2d\u5b9a\u597d\u7684\u9805\u76ee\u540d\u7a31\u3002<\/span><\/p>\n

\"piwik_setup09\"<\/a><\/p>\n

10.\u4e56\u4e56\uff0c\u525b\u525b\u7d81\u5b9a\u597d\uff0c\u5c31\u7d71\u8a08\u5230\u8a2a\u5ba2\u4e86\u3002<\/span><\/p>\n

\"piwik_setup10\"<\/a><\/p>\n

 <\/p>\n

\u5982\u679c\u60a8\u5df2\u7d93\u4f7f\u7528\u904e Google Webmaster Tools \u53ca Google Analytics\uff0c\u6211\u5011\u771f\u5fc3\u5efa\u8b70\uff0c\u984d\u5916\u5728\u52a0\u88ddpiwik\uff0c\u56e0\u70bapiwik\u5c0d\u65bc\u8a2a\u5ba2\u7684\u884c\u70ba\u5206\u6790\u6578\u64da\uff0c\u7db2\u7ad9\u7d93\u71df\u8005\u4ed4\u7d30\u89c0\u770b\u5f8c\uff0c
\n\u771f\u7684\u6703\u53d7\u76ca\u826f\u591a\u3002<\/p>\n

 <\/p>\n

\n

(\u672c\u7bc7\u6587\u7ae0\u7531unethost.com\u5ba2\u670d\u4eba\u54e1<\/a>-Michael\u5b8c\u6210)<\/strong><\/p>\n

\u8a3b\u518a\u7db2\u57df\u8acb\u9ede\u6211<\/a>\u3002\u6211\u5011\u63d0\u4f9b\u865b\u64ec\u4e3b\u6a5f\u8a66\u7528\uff0c\u4e03\u5929\u6eff\u610f\u4fdd\u8b49\uff0c<\/span><\/strong>
\n \u529f\u80fd\u5b8c\u6574\u4f7f\u7528\u4e0d\u53d7\u9650\u5236\uff0c\u6b61\u8fce
\u9ede\u6211<\/a>\u7533\u8acb\u3002<\/span><\/strong><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

  \u7576\u60a8\u5df2\u7d93\u5b89\u88dd\u597d piwik\u4e3b\u7a0b\u5f0f\u5f8c\uff0c\u5c07\u5982\u4f55\u9032\u4e00\u6b65\u7684\u8a2d\u7f6e\u81ea\u5df1\u7db2\u7ad9\u5230piwik\u5167\u5462\uff1f \u6211\u5011\u4ee5 htt … \u95b1\u8b80\u5168\u6587 piwik \u7684\u8a2d\u5b9a\u53ca\u4f7f\u7528\u6559\u5b78<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[15,151],"tags":[394,396,503,505,504],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2251"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=2251"}],"version-history":[{"count":4,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2251\/revisions"}],"predecessor-version":[{"id":2269,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/2251\/revisions\/2269"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=2251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=2251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}