Instant pages

Instant pages are HTML documents that can be quickly downloaded due to the lightweight layout and content placement on the side of the largest Internet participants: Facebook, Google and Yandex. You can track visits to such web pages via Finteza. Integrations with Facebook Instant Articles and Google AMP are currently available.

Special Finteza JavaScript Client insertion code versions are used to track instant page statistics. To obtain such a code, open your website in the Finteza panel, go to Settings and select the necessary platform:

Receiving a tracking code for Facebook Instant Articles

Facebook Instant Articles #

In order to work correctly on Facebook pages, the insertion code is consistently wrapped into the <iframe> and <figure class="op-tracker"> tags.

Sample insertion code:

<figure class="op-tracker">
  <iframe>
    <script type="text/javascript">
      (function(a,e,f,g,b,c,d){a[b]||(a.FintezaCoreObject=b,a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)},a[b].l=1*new Date,c=e.createElement(f),d=e.getElementsByTagName(f)[0],c.async=!0,
       c.defer=!0,c.src=g,d&&d.parentNode&&d.parentNode.insertBefore(c,d))})
      (window,document,"script","https://content.mql5.com/core.js","fz");
      fz("register","website","uilvgbieyrdfwbcjahmzjtarrwsdgvpdjo");
    </script>
  </iframe>
</figure>

Detailed data on Facebook instant pages is available in Facebook for developers

Google AMP #

For the amp-analytics component implementing web analytics on AMP pages, Finteza provides public configuration located at https://content.mql5.com/amp.json.

Sample insertion code:

<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
<amp-analytics config="https://content.mql5.com/amp.json">
  <script type="application/json">
    {
      "vars": {
        "id""{WEBSITE_ID}"
      }
    }
  </script>
</amp-analytics>

Similar to the standard insertion code, it also features your website ID {WEBSITE_ID} from the Finteza panel.

Detailed data on web analytics on AMP pages and methods of sending events from these pages is available in "Deep dive into AMP analytics" guide.