{"id":73221,"date":"2022-03-23T21:49:30","date_gmt":"2022-03-24T01:49:30","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/on-creating-faebook-shop-from-magento-2\/"},"modified":"2022-03-23T21:49:30","modified_gmt":"2022-03-24T01:49:30","slug":"on-creating-faebook-shop-from-magento-2","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=73221","title":{"rendered":"On Creating Faebook Shop from Magento 2"},"content":{"rendered":"<p>Pixel and Meta Tag SetupPut something similar to Magento 2 (Head section may work)<br \/>\nThere are more to do and more to configure<\/p>\n<p>&lt;!&#8211; Meta Pixel Code &#8211;&gt;<br \/>\n&lt;script&gt;<br \/>\n!function(f,b,e,v,n,t,s)<br \/>\n{if(f.fbq)return;n=f.fbq=function(){n.callMethod?<br \/>\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};<br \/>\nif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=&#8217;2.0&#8242;;<br \/>\nn.queue=[];t=b.createElement(e);t.async=!0;<br \/>\nt.src=v;s=b.getElementsByTagName(e)[0];<br \/>\ns.parentNode.insertBefore(t,s)}(window, document,&#8217;script&#8217;,<br \/>\n&#8216;<a href=\"https:\/\/connect.facebook.net\/en_US\/fbevents.js'\">https:\/\/connect.facebook.net\/en_US\/fbevents.js&#8217;<\/a>);<br \/>\nfbq(&#8216;init&#8217;, &#8216;789798&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;PageView&#8217;);<\/p>\n<p>\/\/ manually added by sayed<br \/>\n\/\/Ref: <a href=\"https:\/\/developers.facebook.com\/docs\/meta-pixel\/reference\">https:\/\/developers.facebook.com\/docs\/meta-pixel\/reference<\/a><br \/>\nfbq(&#8216;track&#8217;, &#8216;AddToCart&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;AddPaymentInfo&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;AddToWishlist&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;CompleteRegistration&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Contact&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;CustomizeProduct&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;FindLocation&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Donate&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;InitiateCheckout&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Lead&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;PageView&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Purchase&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Schedule&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Search&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;StartTrial&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;SubmitApplication&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;Subscribe&#8217;);<br \/>\nfbq(&#8216;track&#8217;, &#8216;ViewContent&#8217;);<\/p>\n<p>&lt;\/script&gt;<br \/>\n&lt;noscript&gt;&lt;img height=&quot;1&quot; width=&quot;1&quot; style=&quot;display:none&quot;<br \/>\nsrc=&quot;<a href=\"https:\/\/www.facebook.com\/tr?id=3333&amp;ev=PageView&amp;noscript=1\">https:\/\/www.facebook.com\/tr?id=3333&amp;ev=PageView&amp;noscript=1<\/a>&quot;<br \/>\n\/&gt;&lt;\/noscript&gt;<br \/>\n&lt;!&#8211; End Meta Pixel Code &#8211;&gt;<\/p>\n<p>&lt;script type=&quot;application\/ld+json&quot;&gt;<br \/>\n\/\/ Meta Tag &#8212; manual code<br \/>\n\/\/there can be other ways such as automated ways to add meta tags<br \/>\n{<br \/>\n&quot;@context&quot;:&quot;<a href=\"https:\/\/schema.org\">https:\/\/schema.org<\/a>&quot;,<br \/>\n&quot;@type&quot;:&quot;Product&quot;,<br \/>\n&quot;productID&quot;:&quot;facebook_tshirt_001&quot;,<br \/>\n&quot;name&quot;:&quot;Facebook T-Shirt&quot;,<br \/>\n&quot;description&quot;:&quot;Unisex Facebook T-shirt, Small&quot;,<br \/>\n&quot;url&quot;:&quot;<a href=\"https:\/\/example.org\/facebook\">https:\/\/example.org\/facebook<\/a>&quot;,<br \/>\n&quot;image&quot;:&quot;<a href=\"https:\/\/example.org\/facebook.jpg\">https:\/\/example.org\/facebook.jpg<\/a>&quot;,<br \/>\n&quot;brand&quot;:&quot;facebook&quot;,<br \/>\n&quot;google_product_category&quot;: &quot;Consumer Electronics&quot;,<br \/>\n&quot;offers&quot;: [<br \/>\u00a0 \u00a0 {<br \/>\u00a0 \u00a0 \u00a0 &quot;@type&quot;: &quot;Offer&quot;,<br \/>\u00a0 \u00a0 \u00a0 &quot;price&quot;: &quot;7.99&quot;,<br \/>\u00a0 \u00a0 \u00a0 &quot;priceCurrency&quot;: &quot;USD&quot;,<br \/>\u00a0 \u00a0 \u00a0 &quot;itemCondition&quot;: &quot;<a href=\"https:\/\/schema.org\/NewCondition\">https:\/\/schema.org\/NewCondition<\/a>&quot;,<br \/>\u00a0 \u00a0 \u00a0 &quot;availability&quot;: &quot;<a href=\"https:\/\/schema.org\/InStock\">https:\/\/schema.org\/InStock<\/a>&quot;<br \/>\u00a0 \u00a0 }<br \/>\u00a0 ],<br \/>\n&quot;additionalProperty&quot;: [{<br \/>\u00a0 \u00a0 &quot;@type&quot;: &quot;PropertyValue&quot;,<br \/>\u00a0 \u00a0 &quot;propertyID&quot;: &quot;item_group_id&quot;,<br \/>\u00a0 \u00a0 &quot;value&quot;: &quot;fb_tshirts&quot;<br \/>\u00a0 }]<\/p>\n<p>}<br \/>\n&lt;\/script&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pixel and Meta Tag SetupPut something similar to Magento 2 (Head section may work) There are more to do and more to configure &lt;!&#8211; Meta Pixel Code &#8211;&gt; &lt;script&gt; !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=&#8217;2.0&#8242;; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,&#8217;script&#8217;, &#8216;https:\/\/connect.facebook.net\/en_US\/fbevents.js&#8217;); fbq(&#8216;init&#8217;, &#8216;789798&#8217;); fbq(&#8216;track&#8217;, &#8216;PageView&#8217;); \/\/ manually added by sayed \/\/Ref: https:\/\/developers.facebook.com\/docs\/meta-pixel\/reference fbq(&#8216;track&#8217;, &#8216;AddToCart&#8217;); fbq(&#8216;track&#8217;, &#8216;AddPaymentInfo&#8217;); fbq(&#8216;track&#8217;, &#8216;AddToWishlist&#8217;); &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=73221\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[182],"tags":[],"class_list":["post-73221","post","type-post","status-publish","format-standard","hentry","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":16469,"url":"http:\/\/bangla.sitestree.com\/?p=16469","url_meta":{"origin":73221,"position":0},"title":"Administering Magento 2 on AWS Platform","author":"Sayed","date":"December 6, 2019","format":false,"excerpt":"Varnish: Configuring Varnish Server i.e. a Cache Server https:\/\/varnish-cache.org\/docs\/5.1\/reference\/varnishd.html#http-resp-hdr-len \/opt\/bitnami\/varnish\/varnishd varnishd [-a address[:port][,PROTO]] [-b host[:port]] [-C] [-d] [-F] [-f config] [-h type[,options]] [-I clifile] [-i identity] [-j jail[,jailoptions]] [-l vsl[,vsm]] [-M address:port] [-n name] [-P file] [-p param=value] [-r param[,param...]] [-S secret-file] [-s [name=]kind[,options]] [-T address[:port]] [-t TTL] [-V] [-W\u2026","rel":"","context":"In &quot;AI ML DS RL DL NN NLP Data Mining Optimization&quot;","block_context":{"text":"AI ML DS RL DL NN NLP Data Mining Optimization","link":"http:\/\/bangla.sitestree.com\/?cat=1910"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14842,"url":"http:\/\/bangla.sitestree.com\/?p=14842","url_meta":{"origin":73221,"position":1},"title":"Misc Linux Commands (CentOS\/Redhat) that you might find useful","author":"Sayed","date":"June 28, 2019","format":false,"excerpt":"1 php -v 2 yum repolist 3 yum repolist | remi 4 yum repolist | grep remi 5 yum repolist | grep ius 6 yum makecache 7 yum update 8 reboot 9 adduser ariro 10 passwd ariro 11 usermod -a -G apache ariro 12 adduser magento 13 passwd magento 14\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25053,"url":"http:\/\/bangla.sitestree.com\/?p=25053","url_meta":{"origin":73221,"position":2},"title":"Misc Linux Commands (CentOS\/Redhat) that you might find useful #Root","author":"Author-Check- Article-or-Video","date":"April 15, 2021","format":false,"excerpt":"1 php -v 2 yum repolist 3 yum repolist | remi 4 yum repolist | grep remi 5 yum repolist | grep ius 6 yum makecache 7 yum update 8 reboot 9 adduser ariro 10 passwd ariro 11 usermod -a -G apache ariro 12 adduser magento 13 passwd magento 14\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15984,"url":"http:\/\/bangla.sitestree.com\/?p=15984","url_meta":{"origin":73221,"position":3},"title":"Upgrade magento from 2.3.1 to 2.3.2","author":"Sayed","date":"August 19, 2019","format":false,"excerpt":"Upgrade Magento from 2.3.1 to 2.3.2 From 2.3.0 to 2.3.2 should also work; from some other earlier versions may or may not work.. A very similar approach worked for me (Note: I have no interest to work in the industry with Magento). Also, after upgrade, check the error log and\/or\u2026","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15811,"url":"http:\/\/bangla.sitestree.com\/?p=15811","url_meta":{"origin":73221,"position":4},"title":"Linux : Magento : AWS: SWAP : Update Magento and Misc","author":"Sayed","date":"August 13, 2019","format":false,"excerpt":"Swap Script: https:\/\/github.com\/Cretezy\/Swap\/blob\/master\/swap.sh How To Add Swap on Ubuntu 14.04 https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04 AWS, Magento Update, Memory Error https:\/\/devdocs.magento.com\/guides\/v2.3\/comp-mgr\/trouble\/cman\/out-of-memory.html","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26156,"url":"http:\/\/bangla.sitestree.com\/?p=26156","url_meta":{"origin":73221,"position":5},"title":"Linux : Magento : AWS: SWAP : Update Magento and Misc #Root","author":"Author-Check- Article-or-Video","date":"April 18, 2021","format":false,"excerpt":"Swap Script: https:\/\/github.com\/Cretezy\/Swap\/blob\/master\/swap.sh How To Add Swap on Ubuntu 14.04 https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04 AWS, Magento Update, Memory Error https:\/\/devdocs.magento.com\/guides\/v2.3\/comp-mgr\/trouble\/cman\/out-of-memory.html From: http:\/\/sitestree.com\/linux-magento-aws-swap-update-magento-and-misc\/ Categories:RootTags: Post Data:2019-08-13 15:02:05 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/73221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73221"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/73221\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}