{"action":"closed","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/4006","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/4006/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/4006/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/4006/events","html_url":"https://github.com/odoo/odoo/issues/4006","id":50808212,"number":4006,"title":"Error in Google analytics tracking code","user":{"login":"mamaf","id":956701,"avatar_url":"https://avatars.githubusercontent.com/u/956701?v=3","gravatar_id":"","url":"https://api.github.com/users/mamaf","html_url":"https://github.com/mamaf","followers_url":"https://api.github.com/users/mamaf/followers","following_url":"https://api.github.com/users/mamaf/following{/other_user}","gists_url":"https://api.github.com/users/mamaf/gists{/gist_id}","starred_url":"https://api.github.com/users/mamaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamaf/subscriptions","organizations_url":"https://api.github.com/users/mamaf/orgs","repos_url":"https://api.github.com/users/mamaf/repos","events_url":"https://api.github.com/users/mamaf/events{/privacy}","received_events_url":"https://api.github.com/users/mamaf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-12-03T09:27:00Z","updated_at":"2016-10-13T16:20:44Z","closed_at":"2016-10-13T16:20:44Z","body":"In the last version of Odoo (8.0), the javascript code generated by Odoo for Google Analytics doesn't work any more (no stats are returned by Google Analytics)\r\n\r\nAfter investigating, I found the error (in website_templates.xml) :\r\nInstead of :\r\n ga('create', '<analytics-id>', 'auto');\r\nthe new version of Odoo generates :\r\nga('create', _.str.trim('<analytics-id>'), 'auto');\r\n\r\nwhich causes an error in Google analytics stat generation\r\n"}}
{"actor":{"display_login":"JKE-be"}}