title: Facebook tracking AND Google tracking Script
body: <p>I have allready Google tracking conversion. Now I need Facebook pixel tracking also.</p>
  
  <p>My Google Head Script looks like this:</p>
  
  <pre><code>&lt;script&gt;
   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  
   ga('create', 'XX-XXXXXXXX-X' 'auto');
   ga('send', 'pageview');
  
  &lt;/script&gt;
  </code></pre>
  
  <p>My JavaScript Call for Google looks like this:</p>
  
  <pre><code>if (typeof ga !== 'undefined')
   {
     ga('send', 'event', 'Blub', 'blub');
   }
  </code></pre>
  
  <p>Now I need to add Facebook tracking and I got this Script from Facebook:</p>
  
  <pre><code>&lt;script&gt;(function() {
    var _fbq = window._fbq || (window._fbq = []);
    if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//connect.facebook.net/en_US/fbds.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
   }
  })();
  window._fbq = window._fbq || [];
  window._fbq.push(['track', 'XXXXXXXXXXXXX', {'value':'0.00','currency’:'XXX'}]);
  &lt;/script&gt;
  </code></pre>
  
  <p>How can I integreat the Facebook code without to distrub the Google Code? 
  And is there a problem if I use both?</p>
  
  <p>BR</p>