{"id":38034,"date":"2026-05-12T08:53:33","date_gmt":"2026-05-12T08:53:33","guid":{"rendered":"http:\/\/admin2"},"modified":"2026-05-13T15:12:54","modified_gmt":"2026-05-13T15:12:54","password":"","slug":"how-to-connect-facebook-pixel-to-wordpress","status":"publish","type":"docs","link":"https:\/\/thewebops.com\/ar\/help-center\/analytics-marketing\/how-to-connect-facebook-pixel-to-wordpress\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u0631\u0628\u0637 Facebook Pixel \u0628\u0640 WordPress"},"content":{"rendered":"<p><!-- cleaned HTML here --><\/p>\n<p><strong>In this Article<\/strong><\/p>\n<ol>\n<li>Open Events Manager in your Facebook Business account<\/li>\n<li>Install and activate the Meta Pixel plugin in WordPress<\/li>\n<li>Connect your WordPress site to your Facebook account<\/li>\n<li>Complete the setup and confirm the connection<\/li>\n<li>Test your Pixel<\/li>\n<\/ol>\n<h4>1. Open Events Manager in Your Facebook Business Account<\/h4>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-36244 size-full\" src=\"https:\/\/thewebops.com\/wp-content\/uploads\/2026\/04\/FP-1.gif\" alt=\"\" width=\"1280\" height=\"720\" \/><\/p>\n<ol>\n<li>Go to <a href=\"https:\/\/business.facebook.com\/\" target=\"_blank\" rel=\"noopener\">business.facebook.com<\/a>.<\/li>\n<li>Make sure you&#8217;re logged in to your <b>Business account<\/b> (not your personal profile).<\/li>\n<li>Click <b>All Tools<\/b> from the left menu.<\/li>\n<li>Select <b>Events Manager<\/b>.<\/li>\n<li>Ensure you already have a <b>Meta Pixel created<\/b> under your business account.<\/li>\n<\/ol>\n<h4>2. Install and Activate the Meta Pixel for WordPress Plugin<\/h4>\n<p><img data-dominant-color=\"fdfefe\" data-has-transparency=\"true\" style=\"--dominant-color: #fdfefe;\" decoding=\"async\" class=\"alignnone size-full wp-image-36246 has-transparency\" src=\"https:\/\/thewebops.com\/wp-content\/uploads\/2026\/04\/FP-2.gif\" alt=\"\" width=\"1280\" height=\"720\" \/><\/p>\n<ol>\n<li>In your WordPress dashboard, go to <b>Plugins &gt; Add New<\/b>.<\/li>\n<li>Search for <b>Meta Pixel for WordPress<\/b>.<\/li>\n<li>Click <b>Install Now<\/b>, then <b>Activate<\/b>.<\/li>\n<li>Once activated, go to <b>Settings &gt; Meta<\/b> in your dashboard.<\/li>\n<\/ol>\n<h4>3. Connect Your WordPress Site to Facebook<\/h4>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-36249\" src=\"https:\/\/thewebops.com\/wp-content\/uploads\/2026\/04\/FP-3.gif\" alt=\"\" width=\"1280\" height=\"720\" \/><\/p>\n<ol>\n<li>In the plugin settings, click <b>Get Started<\/b>.<\/li>\n<li>Select the correct Facebook account and click <b>Continue as [Your Name]<\/b>.<\/li>\n<li>Click <b>Next<\/b>.<\/li>\n<li>From <b>Business Portfolio<\/b>, select your business portfolio.<\/li>\n<li>From <b>Meta Pixel<\/b>, select the Pixel you created earlier.<\/li>\n<li>Click <b>Next<\/b>, then <b>Continue<\/b>, then <b>Next<\/b> again.<\/li>\n<li>Click <b>Done<\/b> to finish the setup.<\/li>\n<\/ol>\n<h4>4. Confirm Access in WordPress<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-36251 size-full\" src=\"https:\/\/thewebops.com\/wp-content\/uploads\/2026\/04\/FP-4.gif\" alt=\"\" width=\"1280\" height=\"720\" \/><\/p>\n<ol>\n<li>Back in WordPress, you may see a warning: <i>&#8220;Trust this site?&#8221;<\/i>.<\/li>\n<li>Select <b>I agree to share my token with this site<\/b>.<\/li>\n<li>Click <b>Confirm<\/b>.<\/li>\n<\/ol>\n<h4>5. Test Your Pixel<\/h4>\n<ol>\n<li>In <b>Events Manager<\/b>, go to the <b>Test Events<\/b> section.<\/li>\n<li>Open your website in another browser tab.<\/li>\n<li>Perform an action (like visiting a page or clicking a button).<\/li>\n<li>If everything is connected properly, you&#8217;ll see the event appear in real time.<\/li>\n<\/ol>\n<h4>Quick Recap<\/h4>\n<ul>\n<li><b>Step 1:<\/b> Open Events Manager in Facebook Business and confirm you have a Pixel.<\/li>\n<li><b>Step 2:<\/b> Install and activate the Meta Pixel plugin in WordPress.<\/li>\n<li><b>Step 3:<\/b> Connect your site to your Facebook business account and Pixel.<\/li>\n<li><b>Step 4:<\/b> Approve the token confirmation in WordPress.<\/li>\n<li><b>Step 5:<\/b> Test the Pixel in Events Manager.<\/li>\n<\/ul>\n<h4>Pro Tips<\/h4>\n<ul>\n<li>Make sure you&#8217;re logged into the <b>correct Business Manager<\/b> before starting.<\/li>\n<li>If you don&#8217;t see your Pixel, double-check that it&#8217;s created in the <b>same Business Portfolio<\/b> you selected.<\/li>\n<li>Use Chrome&#8217;s <b>Meta Pixel Helper<\/b> extension to troubleshoot events firing on your site.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we&#8217;ll walk you through connecting your site to Facebook Pixel using a plugin<\/p>","protected":false},"author":1,"featured_media":38218,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[286],"doc_tag":[],"class_list":["post-38034","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-analytics-marketing"],"acf":[],"year_month":"2026-11","word_count":344,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/thewebops.com\/ar\/author\/admin\/"},"doc_category_info":[{"term_name":"Analytics &amp; Marketing","term_url":"https:\/\/thewebops.com\/ar\/help-center\/analytics-marketing\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/docs\/38034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/comments?post=38034"}],"version-history":[{"count":1,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/docs\/38034\/revisions"}],"predecessor-version":[{"id":38275,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/docs\/38034\/revisions\/38275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/media\/38218"}],"wp:attachment":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/media?parent=38034"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/doc_category?post=38034"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/doc_tag?post=38034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}