{"action":"closed","issue":{"url":"https://api.github.com/repos/justarrived/justarrived.github.io/issues/175","repository_url":"https://api.github.com/repos/justarrived/justarrived.github.io","labels_url":"https://api.github.com/repos/justarrived/justarrived.github.io/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/justarrived/justarrived.github.io/issues/175/comments","events_url":"https://api.github.com/repos/justarrived/justarrived.github.io/issues/175/events","html_url":"https://github.com/justarrived/justarrived.github.io/issues/175","id":201862129,"number":175,"title":"Implement new Facebook Pixel","user":{"login":"perclingweld","id":22094652,"avatar_url":"https://avatars.githubusercontent.com/u/22094652?v=3","gravatar_id":"","url":"https://api.github.com/users/perclingweld","html_url":"https://github.com/perclingweld","followers_url":"https://api.github.com/users/perclingweld/followers","following_url":"https://api.github.com/users/perclingweld/following{/other_user}","gists_url":"https://api.github.com/users/perclingweld/gists{/gist_id}","starred_url":"https://api.github.com/users/perclingweld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perclingweld/subscriptions","organizations_url":"https://api.github.com/users/perclingweld/orgs","repos_url":"https://api.github.com/users/perclingweld/repos","events_url":"https://api.github.com/users/perclingweld/events{/privacy}","received_events_url":"https://api.github.com/users/perclingweld/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"assignees":[{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-01-19T13:34:27Z","updated_at":"2017-02-02T11:08:04Z","closed_at":"2017-02-02T11:08:04Z","body":"- [ ] Insert this code snippet. If possible, paste the pixel base code at the bottom of the header section, just above the </head> tag.\r\n\r\n```\r\n<!-- Facebook Pixel Code -->\r\n<script>\r\n!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?\r\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;\r\nn.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;\r\nt.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,\r\ndocument,'script','https://connect.facebook.net/en_US/fbevents.js');\r\nfbq('init', '353518471700713', {\r\nem: 'insert_email_variable,'\r\n});\r\nfbq('track', 'PageView');\r\n</script>\r\n<noscript><img height=\"1\" width=\"1\" style=\"display:none\"\r\nsrc=\"https://www.facebook.com/tr?id=353518471700713&ev=PageView&noscript=1\"\r\n/></noscript>\r\n<!-- DO NOT MODIFY -->\r\n<!-- End Facebook Pixel Code -->\r\n```\r\n\r\n\r\n- [ ] Add custom event \"Complete Registration\" tracking on Newcomer Registration Confirmation Page\r\n\r\n```\r\n<script>\r\nfbq('track', 'CompleteRegistration', {\r\nvalue: 25.00,\r\ncurrency: 'SEK'\r\n});\r\n</script>\r\n```\r\n\r\n- [ ] Add custom event \"Complete Registration\" tracking on Company Indicate Interest Confirmation Page\r\n\r\n```\r\n<script>\r\nfbq('track', 'Lead', {\r\nvalue: 100.00,\r\ncurrency: 'SEK'\r\n});\r\n</script>\r\n```\r\n\r\nIF USER SENT TO COFIRMATION PAGE, INSERT THIS IN HEADER:\r\n\r\n```\r\n<head>\r\n<!-- Facebook Pixel Code -->\r\n<script>\r\n!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?\r\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;\r\nn.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;\r\nt.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,\r\ndocument,'script','https://connect.facebook.net/en_US/fbevents.js');\r\nfbq('init', '353518471700713'); // Insert your pixel ID here.\r\nfbq('track', 'PageView');\r\n</script>\r\n<noscript><img height=\"1\" width=\"1\" style=\"display:none\"\r\nsrc=\"https://www.facebook.com/tr?id=353518471700713&ev=PageView&noscript=1\"\r\n/></noscript>\r\n<!-- DO NOT MODIFY -->\r\n<!-- End Facebook Pixel Code -->\r\n</head>\r\n<script>fbq('track', '<EVENT_NAME>');</script>\r\n```\r\n\r\nIF INLINE (TRACK SUBMIT BUTTON CLICK), INSERT THIS CODE IN THE BUTTON'S HTML CODE:\r\n\r\n```\r\n<!-- The below method uses jQuery, but that is not required -->\r\n<button id=\"addToCartButton\">Add To Cart</button>\r\n<!-- Add event to the button's click handler -->\r\n<script type=\"text/javascript\">\r\n$( '#addToCartButton' ).click(function() {\r\nfbq('track', 'AddToCart', {\r\ncontent_ids: ['1234'],\r\ncontent_type: 'product',\r\nvalue: 2.99,\r\ncurrency: 'USD'\r\n});\r\n});\r\n</script>\r\n```"}}
{"actor":{"display_login":"buren"}}