{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/20","labels_url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/20/comments","events_url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/20/events","html_url":"https://github.com/PrestaShop/ganalytics/pull/20","id":52383077,"number":20,"title":"[-] MO: ganalytics: not updating table from backoffice","user":{"login":"kermes","id":7022112,"avatar_url":"https://avatars.githubusercontent.com/u/7022112?v=3","gravatar_id":"","url":"https://api.github.com/users/kermes","html_url":"https://github.com/kermes","followers_url":"https://api.github.com/users/kermes/followers","following_url":"https://api.github.com/users/kermes/following{/other_user}","gists_url":"https://api.github.com/users/kermes/gists{/gist_id}","starred_url":"https://api.github.com/users/kermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kermes/subscriptions","organizations_url":"https://api.github.com/users/kermes/orgs","repos_url":"https://api.github.com/users/kermes/repos","events_url":"https://api.github.com/users/kermes/events{/privacy}","received_events_url":"https://api.github.com/users/kermes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-18T16:14:35Z","updated_at":"2015-01-21T08:12:33Z","closed_at":"2015-01-13T14:56:59Z","pull_request":{"url":"https://api.github.com/repos/PrestaShop/ganalytics/pulls/20","html_url":"https://github.com/PrestaShop/ganalytics/pull/20","diff_url":"https://github.com/PrestaShop/ganalytics/pull/20.diff","patch_url":"https://github.com/PrestaShop/ganalytics/pull/20.patch"},"body":"when the callback is called from backoffice (because for some reason it didn't  make it in the frontoffice) it will never update the table in database because it is looking for the customers cookie id.\r\nchanged to make it also work if the cookie is from an employee"},"comment":{"url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/comments/70799366","html_url":"https://github.com/PrestaShop/ganalytics/pull/20#issuecomment-70799366","issue_url":"https://api.github.com/repos/PrestaShop/ganalytics/issues/20","id":70799366,"user":{"login":"kermes","id":7022112,"avatar_url":"https://avatars.githubusercontent.com/u/7022112?v=3","gravatar_id":"","url":"https://api.github.com/users/kermes","html_url":"https://github.com/kermes","followers_url":"https://api.github.com/users/kermes/followers","following_url":"https://api.github.com/users/kermes/following{/other_user}","gists_url":"https://api.github.com/users/kermes/gists{/gist_id}","starred_url":"https://api.github.com/users/kermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kermes/subscriptions","organizations_url":"https://api.github.com/users/kermes/orgs","repos_url":"https://api.github.com/users/kermes/repos","events_url":"https://api.github.com/users/kermes/events{/privacy}","received_events_url":"https://api.github.com/users/kermes/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T08:12:33Z","updated_at":"2015-01-21T08:12:33Z","body":"I guess. In 2.0.5 the table is not updated from BO, but it should from FO.\r\nIf users says they NEVER get the table updated, then maybe they have the same problem I had, and the reason I implemented the fallback in GoogleAnalyticActionLib.js as it is suggested in https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#hitCallback, but I figuered out the problem. It was a problem with a plugin in my browser. Now it is fixed and I get the hitCallback called properly from FO.\r\nAny way, if the user has any plugin or anithing that blocks analytics, it should be properly sent from BO with this patch."}}