Advanced WooCommerce Facebook Pixel Events for Dynamic Ads without Any Plugins

Standard

Advanced WooCommerce Facebook Pixel Events for Dynamic Ads without Any Plugins using Google Tag Manager 

Recently one client asks me to implement Advanced WooCommerce Facebook Pixel Events for Dynamic Ads without Any Plugins using Google Tag Manager to Pass Parameters for Dynamic Ads to Retargeting Ads for Facebook 

content_ids —–>Array of integers or strings —–>Product IDs associated with the event, such as SKUs (e.g. [‘ABC123’, ‘XYZ789’]), it’s depend upon on your feed you pass either sku or Product ID

content_category —–>String —–>Category of the page/product.

content_name —–>String —–> Name of the page of product for WooCommerce

content_type —–>String —–> It should be product 

currency —–>String —–> value of Currency of WooCommerce 

value —–>Integer or float —–> Amount of product , Cart and Purchase order confirmation

Step 1: Install Google Tag Manager on Advanced WooCommerce Facebook Pixel Events for Dynamic Ads without Any Plugins using Google Tag Manager

Paste this code as high in the <head> of the page as possible:
<!– Google Tag Manager –>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-XXXX’);</script>
<!– End Google Tag Manager –>
Additionally, paste this code immediately after the opening <body> tag:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>

Note: Make you will replace GTM Tracking Code with your GTM ID XXXXX

Step 2 – Product Page (ViewContent)– User Visited to Product Page of WooCommerce to Setup Facebook Events for Dynamic Ads using Google Tag Manager without Any Plugins

WooCommerce Facebook Pixel Events

WooCommerce Facebook pixel with Dynamic Ads using Google Tag Manager without Any Plugin

Step 3 – Product Page (AddToCart)– User Visited to Product Page and Click on AddToCart, Product added to Shopping cart to setup Facebook Events for Dynamic Ads using Google Tag Manager without Any Plugins

Track Facebook Pixel Conversion on WooCommerce

WooCommerce Facebook Pixel using Google Tag Manager without any plugins

Step 4InitiateCheckout –  When user started process to buy a product Facebook Events for Dynamic Ads using Google Tag Manager without Any Plugins

Facebook Pixel For WooCommerce

WooCommerce Facebook pixel using Google Tag Manager without any plugins

Step 5Purchase –  When user completed purchase setup Facebook dynamic purchase pixel using Google Tag Manager without any plugins

Track WooCommerce Facebook Conversion Pixel

Facebook Purchase event using Google Tag Manager without any plugins

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Advanced WooCommerce Facebook Pixel Events for Dynamic Ads without Any Plugins  using Google Tag Manager that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Upwork: Upwork.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com

Leave a Reply

Your email address will not be published.