{"action":"created","issue":{"url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/1","labels_url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/1/comments","events_url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/1/events","html_url":"https://github.com/AshleyDawson/cookiepolicy/issues/1","id":55172474,"number":1,"title":"Enable googleanalytics only after clicking close/ok","user":{"login":"fourroses666","id":523389,"avatar_url":"https://avatars.githubusercontent.com/u/523389?v=3","gravatar_id":"","url":"https://api.github.com/users/fourroses666","html_url":"https://github.com/fourroses666","followers_url":"https://api.github.com/users/fourroses666/followers","following_url":"https://api.github.com/users/fourroses666/following{/other_user}","gists_url":"https://api.github.com/users/fourroses666/gists{/gist_id}","starred_url":"https://api.github.com/users/fourroses666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourroses666/subscriptions","organizations_url":"https://api.github.com/users/fourroses666/orgs","repos_url":"https://api.github.com/users/fourroses666/repos","events_url":"https://api.github.com/users/fourroses666/events{/privacy}","received_events_url":"https://api.github.com/users/fourroses666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-22T16:13:22Z","updated_at":"2015-01-23T16:10:46Z","closed_at":null,"body":"Hi Ashley, is it correct when paste Google Analytics code between the on close funtion it adds the g.a. cookie on clicking the close button?\r\n\r\n``on_closed: function() { .. ga code .. }``\r\n"},"comment":{"url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/comments/71216706","html_url":"https://github.com/AshleyDawson/cookiepolicy/issues/1#issuecomment-71216706","issue_url":"https://api.github.com/repos/AshleyDawson/cookiepolicy/issues/1","id":71216706,"user":{"login":"fourroses666","id":523389,"avatar_url":"https://avatars.githubusercontent.com/u/523389?v=3","gravatar_id":"","url":"https://api.github.com/users/fourroses666","html_url":"https://github.com/fourroses666","followers_url":"https://api.github.com/users/fourroses666/followers","following_url":"https://api.github.com/users/fourroses666/following{/other_user}","gists_url":"https://api.github.com/users/fourroses666/gists{/gist_id}","starred_url":"https://api.github.com/users/fourroses666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourroses666/subscriptions","organizations_url":"https://api.github.com/users/fourroses666/orgs","repos_url":"https://api.github.com/users/fourroses666/repos","events_url":"https://api.github.com/users/fourroses666/events{/privacy}","received_events_url":"https://api.github.com/users/fourroses666/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T16:10:46Z","updated_at":"2015-01-23T16:10:46Z","body":"made a blank testpage here:\r\nhttp://tinyurl.com/qbqsjtr\r\n\r\ndoesn't seem to add the ga. cookie. :hand: \r\nwhen going to the homepage which isn't using the script the cookie is added. :+1: "}}