{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/31","labels_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/31/comments","events_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/31/events","html_url":"https://github.com/hexojs/hexo-theme-landscape/issues/31","id":66489570,"number":31,"title":"Google analytics not working","user":{"login":"thomastoye","id":3396772,"avatar_url":"https://avatars.githubusercontent.com/u/3396772?v=3","gravatar_id":"","url":"https://api.github.com/users/thomastoye","html_url":"https://github.com/thomastoye","followers_url":"https://api.github.com/users/thomastoye/followers","following_url":"https://api.github.com/users/thomastoye/following{/other_user}","gists_url":"https://api.github.com/users/thomastoye/gists{/gist_id}","starred_url":"https://api.github.com/users/thomastoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomastoye/subscriptions","organizations_url":"https://api.github.com/users/thomastoye/orgs","repos_url":"https://api.github.com/users/thomastoye/repos","events_url":"https://api.github.com/users/thomastoye/events{/privacy}","received_events_url":"https://api.github.com/users/thomastoye/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-05T22:25:59Z","updated_at":"2015-11-10T04:54:34Z","closed_at":"2015-11-10T04:54:34Z","body":"I'm having trouble enabling Google Analytics. I have this in my `_config.yml`:\r\n\r\n    google_analytics: \"UA-48804932-1\"\r\n\r\nBut I get nothing when serving. The landscape theme is the latest version (git commit `0815298a3`) and here's the output of `hexo version`:\r\n\r\n```\r\nhexo: 3.0.0\r\nos: Linux 3.16-3-amd64 linux x64\r\nhttp_parser: 2.3\r\nnode: 0.12.1\r\nv8: 3.28.73\r\nuv: 1.0.2\r\nzlib: 1.2.8\r\nmodules: 14\r\nopenssl: 1.0.1m\r\n```\r\n\r\nAnything I'm doing wrong here?"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/comments/155289352","html_url":"https://github.com/hexojs/hexo-theme-landscape/issues/31#issuecomment-155289352","issue_url":"https://api.github.com/repos/hexojs/hexo-theme-landscape/issues/31","id":155289352,"user":{"login":"leesei","id":544400,"avatar_url":"https://avatars.githubusercontent.com/u/544400?v=3","gravatar_id":"","url":"https://api.github.com/users/leesei","html_url":"https://github.com/leesei","followers_url":"https://api.github.com/users/leesei/followers","following_url":"https://api.github.com/users/leesei/following{/other_user}","gists_url":"https://api.github.com/users/leesei/gists{/gist_id}","starred_url":"https://api.github.com/users/leesei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leesei/subscriptions","organizations_url":"https://api.github.com/users/leesei/orgs","repos_url":"https://api.github.com/users/leesei/repos","events_url":"https://api.github.com/users/leesei/events{/privacy}","received_events_url":"https://api.github.com/users/leesei/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T04:54:34Z","updated_at":"2015-11-10T04:54:34Z","body":"It is an issue that site config `./_config.yml` and theme config `./theme/XXX/_config.yml` are not properly defined. That being said, Landscape read GA token from theme config.\r\nI don't think it is a good practice to symlink site config as theme config."}}