{"action":"opened","issue":{"url":"https://api.github.com/repos/mondora/mnd-website/issues/49","labels_url":"https://api.github.com/repos/mondora/mnd-website/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/mondora/mnd-website/issues/49/comments","events_url":"https://api.github.com/repos/mondora/mnd-website/issues/49/events","html_url":"https://github.com/mondora/mnd-website/issues/49","id":75991655,"number":49,"title":"Conversion tracks for Facebook and Twitter","user":{"login":"kirstenjr87","id":10920516,"avatar_url":"https://avatars.githubusercontent.com/u/10920516?v=3","gravatar_id":"","url":"https://api.github.com/users/kirstenjr87","html_url":"https://github.com/kirstenjr87","followers_url":"https://api.github.com/users/kirstenjr87/followers","following_url":"https://api.github.com/users/kirstenjr87/following{/other_user}","gists_url":"https://api.github.com/users/kirstenjr87/gists{/gist_id}","starred_url":"https://api.github.com/users/kirstenjr87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirstenjr87/subscriptions","organizations_url":"https://api.github.com/users/kirstenjr87/orgs","repos_url":"https://api.github.com/users/kirstenjr87/repos","events_url":"https://api.github.com/users/kirstenjr87/events{/privacy}","received_events_url":"https://api.github.com/users/kirstenjr87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T13:53:12Z","updated_at":"2015-05-13T13:53:12Z","closed_at":null,"body":"As a marketing person I want to be able to track how my facebook and twitter ads are relating to website traffic, so that I can better adjust my marketing strategy.\r\n\r\nThis is done by adding a conversion tracking pixel for the website, which is:\r\n\r\nFacebook (on home page of mondora.com)\r\nCopy and paste the following code between <head> and </head> on the Page of your website you want to track actions. \r\n\r\n<!-- Facebook Conversion Code for Leads - mondora.com 1 -->\r\n<script>(function() {\r\n  var _fbq = window._fbq || (window._fbq = []);\r\n  if (!_fbq.loaded) {\r\n    var fbds = document.createElement('script');\r\n    fbds.async = true;\r\n    fbds.src = '//connect.facebook.net/en_US/fbds.js';\r\n    var s = document.getElementsByTagName('script')[0];\r\n    s.parentNode.insertBefore(fbds, s);\r\n    _fbq.loaded = true;\r\n  }\r\n})();\r\nwindow._fbq = window._fbq || [];\r\nwindow._fbq.push(['track', '6024191463967', {'value':'0.00','currency':'EUR'}]);\r\n</script>\r\n<noscript><img height=\"1\" width=\"1\" alt=\"\" style=\"display:none\" src=\"https://www.facebook.com/tr?ev=6024191463967&amp;cd[value]=0.00&amp;cd[currency]=EUR&amp;noscript=1\" /></noscript>\r\n\r\nFacebook (on About Us page)\r\nCopy and paste the following code between <head> and </head> on the Page of your website you want to track actions. \r\n\r\n<!-- Facebook Conversion Code for Key Page Views - mondora.com about us page -->\r\n<script>(function() {\r\n  var _fbq = window._fbq || (window._fbq = []);\r\n  if (!_fbq.loaded) {\r\n    var fbds = document.createElement('script');\r\n    fbds.async = true;\r\n    fbds.src = '//connect.facebook.net/en_US/fbds.js';\r\n    var s = document.getElementsByTagName('script')[0];\r\n    s.parentNode.insertBefore(fbds, s);\r\n    _fbq.loaded = true;\r\n  }\r\n})();\r\nwindow._fbq = window._fbq || [];\r\nwindow._fbq.push(['track', '6024191504367', {'value':'0.00','currency':'EUR'}]);\r\n</script>\r\n<noscript><img height=\"1\" width=\"1\" alt=\"\" style=\"display:none\" src=\"https://www.facebook.com/tr?ev=6024191504367&amp;cd[value]=0.00&amp;cd[currency]=EUR&amp;noscript=1\" /></noscript>\r\n\r\nTwitter (on home page of mondora.com)\r\nCopy the following tracking code snippet and paste it into the web page or website template you want to track, just before the closing </body> tag\r\n\r\n<script src=\"//platform.twitter.com/oct.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\ntwttr.conversion.trackPid('l62i8', { tw_sale_amount: 0, tw_order_quantity: 0 });</script>\r\n<noscript>\r\n<img height=\"1\" width=\"1\" style=\"display:none;\" alt=\"\" src=\"https://analytics.twitter.com/i/adsct?txn_id=l62i8&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0\" />\r\n<img height=\"1\" width=\"1\" style=\"display:none;\" alt=\"\" src=\"//t.co/i/adsct?txn_id=l62i8&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0\" /></noscript>\r\n\r\n"}}