Skip to content

facebook instant article (pseudonymous measurement)

Facebook instant articles can be measured via iframe. Please refer to the documentation at Facebook for developers.

The web page loaded in the iframe must be delivered via the subdomain "fbia" (fbia.domain.tld) and be included in the locallist to allow separate IVW publication of the measurement.

Example implementation in instant article

1
2
3
<figure class="op-tracker">
    <iframe src="https://fbia.domain.tld/trackingcode"></iframe>
</figure>

On this web page, the SZM tag is implemented as follows:

  1. HEAD inclusion (without line break!)

<script type="text/javascript" src="https://script.ioam.de/iam.js"> </script>

  1. BODY inclusion
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<!-- SZM VERSION="2.0" -->
<script type="text/javascript">
 var iam_data = {
  "st": "site ID", // site/domain (MEW)
  "cp": "page code", // code
  "sv": "ke", // no invitation ad will be delivered. 
  "fb": "1", // tag for Facebook instant articles
  "co": "comment" // comment.
  }
  iom.c(iam_data,1);
</script>
<!--/SZM -->
Note

Please be careful not to insert additional line breaks and fill the variables "st" and "cp" with their respective values:

st= Site ID of the mobile-enabled website (MEW)
cp= Corresponding page code of the web page
. co= Comment (optional)


Last update: April 7, 2022