jekyll-ga为jekyll设立

时间:2017-12-30 13:53:20

标签: google-analytics jekyll

我正在开始一个新的jekyll项目。我从现在开始创建了一个新项目inger(jekyll new inger)。所以我有我项目的默认树。我正在尝试设置我想要使用的所有插件 第一个是Google Analytics插件(jekyll-ga)。我按照https://github.com/developmentseed/jekyll-ga的教程进行了操作 我遵循以下所有步骤 设置Google数据API的服务帐户

-Go to https://code.google.com/apis/console/b/0/ and create a new project.
-Turn on the Analytics API and accept the terms of service
-Go to API Access on the left sidebar menu, create a new oauth 2.0 client ID, give your project a name, and click next.
-Select Application type: Service account, and click Create client ID
-note the private key's password. It will probably be notasecret unless Google changes something. You'll need to enter this value in your configuration settings.
-Download the private key. Save this file because you can only download it once. Copy it to the root of your Jekyll repository. Safety tip: To protect this file, add its file name to your .gitignore file and to the exclude list in your _config.yml file
-Note the Email address for the Service account. You'll need this for your configuration settings and in the next step.

所以我在google页面(https://console.developers.google.com/iam-admin/iam/project?project=inger-analytics)中有以下页面 enter image description here
最后一步如下:登录Google Analytics并以Google Analytics配置文件的用户身份添加服务帐户电子邮件地址:从报告页面,管理员>选择个人资料>用户>新用户https://analytics.google.com/analytics/web/provision/?authuser = 0#provision / SignUp /)
我有以下页面
enter image description here
注册按钮将我引导到一个表单,我必须输入有关将用于我的网站的网站的信息。我不认识教程的指示(https://github.com/developmentseed/jekyll-ga)。

谢谢你的帮助

0 个答案:

没有答案