How to Setup Facebook Pixel in AMP Blog
Overview of the explanation, Pixel is similar to google analytics that we can also put on our website page for tracking our website page visitors. But facebook pixel course will be more detail on the track of your web visitors who come from Facebook.
Usually, pixels will be installed by a blogger or developer who often creates website ads n Facebook. With the aim of doing retargeting later.
For those of you who want to try to install facebook pixel on your blog, the way is very easy. The first thing you should do is create your pixel account first at https://www.facebook.com/events_manager and try creating a pixel account for your blog.
Then put the code in must be placed above the code </ head>.
For those of you who use AMP HTML maybe the Pixel code installation will be a little different, and only need to copy the pixel account code only.
Especially for the AMP blog, place the code below just before the code </ body>. Because the pair, if the code is installed before the code </ head>, then your AMP page will have an error.
<amp-analytics type="facebookpixel" config="https://www.facebook.com/tr?id=1520986604657895&ev=PageView&noscript=1"></amp-analytics>
*Change 152098660465XXXX with your facebook pixel ID code.
If you put it on Blogger and have an error, please parse the HTML code first before putting it on your blog.
If the code is installed, then facebook pixel will take some time for your blog can begin to be crawled by a script from Pixel.
For the report can be seen directly on Facebook.com/event_manager.