{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/649","labels_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/649/comments","events_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/649/events","html_url":"https://github.com/segmentio/analytics.js-integrations/pull/649","id":85622443,"number":649,"title":"Parsely integration","user":{"login":"hbbtstar","id":3144867,"avatar_url":"https://avatars.githubusercontent.com/u/3144867?v=3","gravatar_id":"","url":"https://api.github.com/users/hbbtstar","html_url":"https://github.com/hbbtstar","followers_url":"https://api.github.com/users/hbbtstar/followers","following_url":"https://api.github.com/users/hbbtstar/following{/other_user}","gists_url":"https://api.github.com/users/hbbtstar/gists{/gist_id}","starred_url":"https://api.github.com/users/hbbtstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbbtstar/subscriptions","organizations_url":"https://api.github.com/users/hbbtstar/orgs","repos_url":"https://api.github.com/users/hbbtstar/repos","events_url":"https://api.github.com/users/hbbtstar/events{/privacy}","received_events_url":"https://api.github.com/users/hbbtstar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T20:09:30Z","updated_at":"2015-06-11T12:42:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/segmentio/analytics.js-integrations/pulls/649","html_url":"https://github.com/segmentio/analytics.js-integrations/pull/649","diff_url":"https://github.com/segmentio/analytics.js-integrations/pull/649.diff","patch_url":"https://github.com/segmentio/analytics.js-integrations/pull/649.patch"},"body":"Bundled Parsely integration is here!\r\n\r\nBrief overview of integration:\r\n\r\nThe script fires a pageview pixel and creates a div with configuration information (specifically, the user's API key) that our crawler needs to accurately track the page. "},"comment":{"url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/comments/111119533","html_url":"https://github.com/segmentio/analytics.js-integrations/pull/649#issuecomment-111119533","issue_url":"https://api.github.com/repos/segmentio/analytics.js-integrations/issues/649","id":111119533,"user":{"login":"hbbtstar","id":3144867,"avatar_url":"https://avatars.githubusercontent.com/u/3144867?v=3","gravatar_id":"","url":"https://api.github.com/users/hbbtstar","html_url":"https://github.com/hbbtstar","followers_url":"https://api.github.com/users/hbbtstar/followers","following_url":"https://api.github.com/users/hbbtstar/following{/other_user}","gists_url":"https://api.github.com/users/hbbtstar/gists{/gist_id}","starred_url":"https://api.github.com/users/hbbtstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbbtstar/subscriptions","organizations_url":"https://api.github.com/users/hbbtstar/orgs","repos_url":"https://api.github.com/users/hbbtstar/repos","events_url":"https://api.github.com/users/hbbtstar/events{/privacy}","received_events_url":"https://api.github.com/users/hbbtstar/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T12:42:03Z","updated_at":"2015-06-11T12:42:03Z","body":"hi amillet!\r\n\r\nSure, I can clarify. The reason our integration needs to be embedded in the browser is because the client side code ensures we use/create existing user identifiers for network and first party uses, and without it we'd have to have some way for you to mimic our client-side sessionization.\r\n\r\nAdditionally, we have several client integration and verification tools that use PhantomJS to detect and validate the code on the page, and without the parsely-root div those checks will always fail, requiring us to manually override any client using Segment.\r\n\r\nLet me know if any of this is unclear or you want more clarification, and thanks for the prompt turnaround on this!\r\n\r\nBest,\r\n-Xand"}}