Thursday, February 9, 2023

2 Ways Add Facebook IA with Google Analytics

Hi developers, in this tutorial, you will learn how to add Facebook Instant Article with Google Analytics tracking code with customization. Facebook instant article store your website post content and displayed from its own server, resulting in the tracking of page views for Google analytic. But in this How to track Facebook instant article with Google analytic tutorial you will learn to customize your analytic tracking code for your Facebook instant article, so start following the below steps to track your website page views even on Facebook instant articles using Google analytic tracking code.

The above code does four main things:

  • Creates a <script> element that starts asynchronously downloading the analytics.js JavaScript library from
  • Initializes a global ga function (called the ga() command queue) that allows you to schedule commands to be run once the analytics.js library is loaded and ready to go.
  • Adds a command to the ga() command queue to create a new tracker object for the property specified via the ‘UA-XXXXX-Y’ parameter.
  • Adds another command to the ga() command queue to send a pageview to Google Analytics for the current page.

Facebook IA with Google Analytics

Facebook IA with Google Analytics
<!-- Google Analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');
<!-- End Google Analytics -->

Note: Instead of UA-XXXXX-Y add your own Google analytic ID

Increase Instant Article Earning

Content Optimization to Increase Instant Article Earning

If you're a publisher using a mediation layer and you have placements with 10,000 impressions or more a day, there are several ways to...
Create Facebook Reaction Poll Streaming

How to Create Facebook Reaction Poll Streaming

Yesterday I’ve seen a forum thread that points to some guys who made millions of Facebook likes and views in a matter of 5-6...
Facebook Instant Article Guide

10 Minutes Learn Facebook Instant Article Guide

It's a Facebook Instant Article Guide feature that allows brand pages to create interactive articles that load in an instant (pun intended). Instant Articles were...
Facebook Digital Marketing Tools

2 Cost Effective Facebook Digital Marketing Tools

Having the right Facebook Digital Marketing Tools to execute your marketing strategy not only makes your job easier but also makes your work more...
Use Facebook Messenger to Send Money

Use Facebook Messenger to Send Money to Friends

Facebook after launching its drone for Internet service for the area where it's not possible to provide the Internet using Wired transmission, Now Facebook come...
Enable Notifications OK No thanks