{"action":"created","issue":{"url":"https://api.github.com/repos/optimizely/marketing-website/issues/1096","labels_url":"https://api.github.com/repos/optimizely/marketing-website/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/optimizely/marketing-website/issues/1096/comments","events_url":"https://api.github.com/repos/optimizely/marketing-website/issues/1096/events","html_url":"https://github.com/optimizely/marketing-website/pull/1096","id":75695075,"number":1096,"title":"add locale tracking data to oform middleware","user":{"login":"dtothefp","id":4656726,"avatar_url":"https://avatars.githubusercontent.com/u/4656726?v=3","gravatar_id":"","url":"https://api.github.com/users/dtothefp","html_url":"https://github.com/dtothefp","followers_url":"https://api.github.com/users/dtothefp/followers","following_url":"https://api.github.com/users/dtothefp/following{/other_user}","gists_url":"https://api.github.com/users/dtothefp/gists{/gist_id}","starred_url":"https://api.github.com/users/dtothefp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtothefp/subscriptions","organizations_url":"https://api.github.com/users/dtothefp/orgs","repos_url":"https://api.github.com/users/dtothefp/repos","events_url":"https://api.github.com/users/dtothefp/events{/privacy}","received_events_url":"https://api.github.com/users/dtothefp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/optimizely/marketing-website/labels/in%20progress","name":"in progress","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-12T18:30:51Z","updated_at":"2015-05-13T17:12:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/optimizely/marketing-website/pulls/1096","html_url":"https://github.com/optimizely/marketing-website/pull/1096","diff_url":"https://github.com/optimizely/marketing-website/pull/1096.diff","patch_url":"https://github.com/optimizely/marketing-website/pull/1096.patch"},"body":"@arthuracs @4vanger \r\nAdds temporary tracking of language key for `/account/create` based upon `ccTLD`.\r\n\r\n- only works for requests made to `/account/create` (ie no `/account/free_trial_create`. @arthuracs let me know if this should be added as well but it would mean updating another endpoint.\r\n\r\n## To Test\r\n- go to any page that uses `/account/create` i.e. homepage, mobile page\r\n- preserve the log in chrome network and inspect the request payload sent\r\n- should see a `locale` key\r\n- default is `us_EN`, unfortunately we cannot test this in staging for `ccTLD` unless you have some good ideas of how.\r\n\r\nstaging url: https://www.optimizelystaging.com/dfoxpowell/language-selection-cctld/\r\n\r\n![screen shot 2015-05-13 at 10 07 47 am](https://cloud.githubusercontent.com/assets/4656726/7616262/f0476bd4-f957-11e4-8f1f-fdcc877e0a6d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/optimizely/marketing-website/issues/comments/101749563","html_url":"https://github.com/optimizely/marketing-website/pull/1096#issuecomment-101749563","issue_url":"https://api.github.com/repos/optimizely/marketing-website/issues/1096","id":101749563,"user":{"login":"dtothefp","id":4656726,"avatar_url":"https://avatars.githubusercontent.com/u/4656726?v=3","gravatar_id":"","url":"https://api.github.com/users/dtothefp","html_url":"https://github.com/dtothefp","followers_url":"https://api.github.com/users/dtothefp/followers","following_url":"https://api.github.com/users/dtothefp/following{/other_user}","gists_url":"https://api.github.com/users/dtothefp/gists{/gist_id}","starred_url":"https://api.github.com/users/dtothefp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtothefp/subscriptions","organizations_url":"https://api.github.com/users/dtothefp/orgs","repos_url":"https://api.github.com/users/dtothefp/repos","events_url":"https://api.github.com/users/dtothefp/events{/privacy}","received_events_url":"https://api.github.com/users/dtothefp/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T17:12:17Z","updated_at":"2015-05-13T17:12:17Z","body":"@4vanger changed default lang key to `en_US` and moved check for `langKey` outside of the `if` block"}}