{"id":23164,"date":"2021-08-04T06:35:17","date_gmt":"2021-08-04T10:35:17","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=23164"},"modified":"2021-11-18T05:38:23","modified_gmt":"2021-11-18T10:38:23","slug":"how-to-add-facebook-pixel-to-magento-2-amp-pages","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel","title":{"rendered":"How to Add Facebook Pixel to Magento 2 AMP Pages"},"content":{"rendered":"\n<p>In this article, you will learn how to integrate <a href=\"\/magento-amp\">Facebook Pixel into Magento 2 AMP extension<\/a>. <\/p>\n\n\n\n<p>By using Facebook Pixel on your AMP pages, you can easily track conversions from Facebook ads, build targeted audiences, retarget people who have already chosen to visit your website, and more to optimize ads and make more sales. Facebook Business Manager interface allows you to conveniently manage and optimize your Facebook ads campaigns in one place. Please follow the guide below to learn how to implement Facebook Pixel on your AMP pages.<\/p>\n\n\n\n<h2 id=\"h-how-to-create-facebook-pixel\">How to Create Facebook Pixel<\/h2>\n\n\n\n<p>First, you need to create a Facebook Pixel to generate a Pixel ID required for integration with Magento 2 AMP pages. Please follow the instructions below in order to create Facebook Pixel correctly. If you have already created one, skip to the <a href=\"#where-to-find-facebook-pixel-id\">Where to Find Facebook Pixel ID<\/a> step.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>Go to&nbsp;<a href=\"https:\/\/facebook.com\/events_manager2\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Events Manager<\/a> and click <strong>Connect Data Sources<\/strong> in the left tab.<\/li><li>Select <strong>Web<\/strong>.<\/li><li>Click Connect.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"456\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png\" alt=\"create facebook pixel 1.png\" class=\"wp-image-23172\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1-300x113.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1-1024x387.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1-768x290.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>Select <strong>Facebook Pixel<\/strong>.<\/li><li>Click Connect.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"456\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-2-1.png\" alt=\"create facebook pixel 2.png\" class=\"wp-image-23173\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-2-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-2-1-300x113.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-2-1-1024x387.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-2-1-768x290.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>Add your <strong>Pixel Name<\/strong>.<\/li><li>Click Continue.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"469\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-3-1.png\" alt=\"create facebook pixel 3.png\" class=\"wp-image-23174\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-3-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-3-1-300x117.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-3-1-1024x398.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-3-1-768x299.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li>You have just created a Pixel. Copy the <strong>Pixel ID<\/strong> and jump to the <a href=\"#how-to-integrate-facebook-pixel-with-magento-2-amp-extension\">Magento 2 AMP configuration step<\/a> to integrate Facebook Pixel with your Magento 2 AMP pages.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"465\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-4-1.png\" alt=\"create facebook pixel 4.png\" class=\"wp-image-23175\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-4-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-4-1-300x116.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-4-1-1024x395.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-4-1-768x296.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<h2 id=\"h-where-to-find-facebook-pixel-id\">Where to Find Facebook Pixel ID<\/h2>\n\n\n\n<p>If you have already created your Facebook Pixel, you can find the Pixel ID in the <a href=\"https:\/\/facebook.com\/events_manager2\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Events Manager<\/a> below the site name.    <\/p>\n\n\n\n<h2 id=\"h-how-to-integrate-facebook-pixel-with-magento-2-amp-extension\">How to Integrate Facebook Pixel With Magento 2 AMP Extension<\/h2>\n\n\n\n<p>In the main Magento menu, go to <strong>Plumrocket<\/strong> -&gt; <strong>AMP<\/strong> -&gt; <strong>Configuration<\/strong>. Scroll down to <strong>Integrations<\/strong> -&gt; <strong>Facebook Pixel<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-step guide:<\/p>\n\n\n\n<ol><li><strong>Enable<\/strong>: set to <em>Yes<\/em> to enable Facebook Pixel on your Magento AMP pages.<\/li><li><strong id=\"facebook-pixel-id\">Pixel ID<\/strong>: paste your <a href=\"#facebook-pixel-id\">Facebook Pixel ID<\/a> in this field.<\/li><li>Press the <strong>Save Config<\/strong> button to apply settings.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"259\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/magento-2-amp-extension-facebook-pixel-configuration-1.png\" alt=\"magento 2 amp extension facebook pixel configuration.png\" class=\"wp-image-23176\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/magento-2-amp-extension-facebook-pixel-configuration-1.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/magento-2-amp-extension-facebook-pixel-configuration-1-300x64.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/magento-2-amp-extension-facebook-pixel-configuration-1-1024x220.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/magento-2-amp-extension-facebook-pixel-configuration-1-768x165.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<p>Facebook Pixel integration with the Magento 2 AMP extension is now completed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily track conversions from Facebook ads, build targeted audiences, retarget people who have already chosen to visit your website, and more to optimize ads and make more sales. Facebook &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Add Facebook Pixel to Magento 2 AMP Pages&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[327],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Facebook Pixel to Magento 2 AMP Pages - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Facebook Pixel to Magento 2 AMP Pages\" \/>\n<meta property=\"og:description\" content=\"In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-04T10:35:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-18T10:38:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Add Facebook Pixel to Magento 2 AMP Pages - Plumrocket Documentation","description":"In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel","og_locale":"en_US","og_type":"article","og_title":"How to Add Facebook Pixel to Magento 2 AMP Pages","og_description":"In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily","og_url":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel","og_site_name":"Plumrocket Documentation","article_published_time":"2021-08-04T10:35:17+00:00","article_modified_time":"2021-11-18T10:38:23+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel#primaryimage","inLanguage":"en-US","url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png","contentUrl":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2021\/08\/create-facebook-pixel-1-1.png","width":1206,"height":456},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel","name":"How to Add Facebook Pixel to Magento 2 AMP Pages - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel#primaryimage"},"datePublished":"2021-08-04T10:35:17+00:00","dateModified":"2021-11-18T10:38:23+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"In this article, you will learn how to integrate Facebook Pixel into Magento 2 AMP extension. By using Facebook Pixel on your AMP pages, you can easily","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations\/facebook-pixel#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 AMP","item":"https:\/\/plumrocket.com\/magento-amp"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-amp"},{"@type":"ListItem","position":4,"name":"v3","item":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3"},{"@type":"ListItem","position":5,"name":"Integrations","item":"https:\/\/plumrocket.com\/docs\/magento-amp\/v3\/integrations"},{"@type":"ListItem","position":6,"name":"How to Add Facebook Pixel to Magento 2 AMP Pages"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/23164"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=23164"}],"version-history":[{"count":18,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/23164\/revisions"}],"predecessor-version":[{"id":25111,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/23164\/revisions\/25111"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=23164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=23164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=23164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}