# Facebook Instant Articles Instrumentation

Compass can also track visits and behaviors on Facebook Instant Articles.

Enable Compass on FB Instant Articles by inserting this HTML snippet anywhere in your page's body:

<figure class="op-tracker">
  <iframe>
    <script type="text/javascript">
    window.__mrfCompass={accountId:000,pageType:"fbia"},window.__mrfCompass.data=window.__mrfCompass.data||[],function(){var e=document.createElement("script");e.async=!0,e.type="text/javascript",e.src="https://events.newsroom.bi/js/tracker.js?cb="+Math.round(Date.now()/1e5);var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();
    </script>
  </iframe>
</figure>

WARNING

Remember to replace the 000 with your own account ID!

It is the same ID that you use for Web and AMP instrumentation.

Click to read the FB Instant Articles Pixel code in details




 















<figure class="op-tracker">
  <iframe>
    <script type="text/javascript">
     window.__mrfCompass = {
        accountId: 000, //REPLACE WITH YOUR PERSONAL ACCOUNT ID
        pageType: 'fbia'
      };
      window.__mrfCompass.data = window.__mrfCompass.data || [];
      (function () {
        var __nrscript = document.createElement('script');
        __nrscript.async = true;
        __nrscript.type = 'text/javascript';
        __nrscript.src = 'https://events.newsroom.bi/js/tracker.js?cb=' + Math.round(Date.now() / 100000);
        var __nrnode = document.getElementsByTagName('script')[0];
        __nrnode.parentNode.insertBefore(__nrscript, __nrnode);
      })();
    </script>
  </iframe>
</figure>