#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Mar 2017
    Posts
    12
    Rep Power
    0

    Tracking Facebook Instant traffic


    Hi guys,

    Has anyone here use Facebook Instant article?

    I have an issue keeping track of its traffic on GA

    I tried to add in the code that some people suggest instead of facebook developer guide and still not working at all.

    <script>
    (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','https://www.google-analytics.com/analytics.js','ga');
    ga('create', 'YOUR_UID_REPLACE_THIS', 'auto');
    ga('require', 'displayfeatures');
    ga('set', 'campaignSource', 'Facebook');
    ga('set', 'campaignMedium', 'Social Instant Article');
    ga('set', 'title', ia_document.title);
    ga('send', 'pageview');
    </script>

    reference: How to track content Statistics for Facebook Instant Articles with Google Analytics - Stack Overflow

    Anyone here having the same issue with me? How do you solve this issue ?

    Thank you!
  2. #2
  3. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jun 2012
    Posts
    308
    Rep Power
    264
    I haven't tried to track facebook instant articles personally but i can point you into a couple directions that may help you with debugging


    + I would say a good first step would be to use the google tag assistent chrome plugin, which provides reports for debugging as a starting point.
    + if articles were not on facebook instant articles production list before you added the tracking code, they will not add the tracking code.
    + Here is an article with an alternate approach using universal tracking code that you can try https://stackoverflow.com/questions/...-google-analyt

    Hope this helps!
    "...using this: sages act out of constructs but they do not rely on them"

Similar Threads

  1. Instant traffic
    By Andron in forum Social Chat
    Replies: 2
    Last Post: May 15th, 2011, 11:59 PM
  2. Tracking Traffic
    By niko8 in forum Google Optimization
    Replies: 15
    Last Post: Nov 11th, 2003, 12:02 PM

IMN logo majestic logo threadwatch logo seochat tools logo