Tuki

Tietämyskanta

How do I install StatCounter using Facebook Instant Articles?

  1. Sign up for a free account at StatCounter and follow the steps to create your first project and generate your StatCounter code.
  2. If prompted, make sure to choose Facebook Instant Articles from the list of Installation Guides.
  3. Copy the StatCounter code.

  4. Log into your Facebook account (opens in a new window) with your username and password.

  5. Open your published page, and click Publishing Tools in the top navigation bar

  6. Click the Development Articles link in the left navigation to open your in-development Instant Articles

  7. Create a new article, or edit an existing one

  8. The article editor will open

    The markup in the above image is taken from Facebook's sample Instant Article markup. An 'op-tracker' iframe must be added to the markup as in the above image:




    StatCounter is now active on your Facebook Instant Article and will immediately begin recording visitor information. You can preview your article in the Facebook Pages Manager app and verify traffic is being recorded,

    These instructions have been compiled and verified: October 2017


Answers to the majority of questions we receive can be found here in the knowledge base.