Dynamic Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager

Standard

Dynamic Standard Facebook Conversion Pixel in Ruby on Rails using Google Tag Manager without any plugins

Recently one of client ask to implement Dynamic Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager without plugins, But once I looked Ruby on Rails, I asked to client place a test order to see custom paramaters to pass dynamic value of content_id, content_type and value

content_category —–>String —–>Category of the page/product In Ruby on Rails

content_id —–>String —–> Name of the page of product In Ruby on Rails

content_type —–>String —–> It should be product In Ruby on Rails

currency —–>String —–> value of Currency In Ruby on Rails

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

Step 1: Install Google Tag Manager on Dynamic Standard Facebook Conversion Pixel In Ruby on Rails without any plugins

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 2Facebook ViewContent Pixel in Ruby on Rails – When user visited product Page then you need pass these 3 custom parameters to work Dynamic Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager

Facebook Conversion Pixel in Ruby on Rails

Facebook Pixel Integration on Ruby on Rails using Google Tag Manager without any Plugins

Step 3 – Facebook AddtoCart Pixel for Ruby on Rails –  When Click on AddtoCart  product added to basket Standard Facebook Pixel In Ruby on Rails using Google Tag Manager without any plugins

Standard Facebook Pixel on Ruby on Rails using Google Tag Manager

Tracking Events with Facebook pixel integration on Ruby on Rails using Google Tag Manager without any plugins

Step 4Facebook InitiateCheckout Pixel for Ruby on Rails  –  When user started initiated to process to address to Payment and Dynamic Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager

Install Facebook pixel in Ruby on Rails using Google Tag Manager without any plugins

Step 5Facebook Purchase Pixel for Ruby on Rails –   When user completed purchased and  pass dynamic value of Purchase Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager

Facebook Conversion Pixel for Ruby on Rails

Ruby on Rails on Facebook Purchase Pixel 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 Dynamic Standard Facebook Conversion Pixel In Ruby on Rails using Google Tag Manager 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

Advance Facebook Conversion Tracking for PrestaShop using Google Tag Manager

Standard

Advance Facebook Conversion Tracking for PrestaShop using Google Tag Manager without any plugins

Recently, one of client as me to implement Standard Advance Facebook Conversion pixel for PrestaShop to run dynamic ads using Google Tag Manager without any plugins, To Work Facebook Dynamic Ads to pass custom dynamic parameters match to work dynamic Facebook based content_id.

content_category —–>String —–>Category of the page/product for PrestaShop

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

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

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

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

Step 1: Install Google Tag Manager on Advance Facebook Conversion Tracking for PrestaShop using Google Tag Manager without any plugins

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 2Facebook ViewContent Pixel for PrestaShop – When users entered to view a product page for PrestaShop Facebook Conversion Tracking using Google Tag Manager without any plugins 

Facebook Conversion Tracking for PrestaShop

PrestaShop Facebook Event Tracking using Google Tag Manager without any plugins

Step 3 – Facebook AddtoCart Pixel for PrestaShop – When User added to product in Basket in PrestaShop Facebook Pixel using Google Tag Manager without any plugins

Facebook Pixel for Prestashop

Facebook Pixel Prestashop using Google Tag Manager without any plugins

Step 4Facebook InitiateCheckout Pixel for PrestaShop –  When user started process order and entered in InitiateCheckout Process for PrestaShop Facebook Conversion Tracking using Google Tag Manager without any plugins 

Facebook Conversion Tracking Pixel for Prestashop

Facebook Pixel Setup without Addon using Google Tag Manager without any plugins 

Step 5Facebook Purchase Pixel for PrestaShop –   When users completed purchased from Facebook Campaign,  Facebook Conversion for PrestaShop using Google Tag Manager without any Plugins

Facebook Retargeting Campaign Setup for Prestashop

Facebook Purchase Conversion Tracking using Google Tag Manager without any plugins for pestahsop

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Setup Facebook Conversion Tracking for PrestaShop using Google Tag Manager 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

Setup OpenCart Facebook Pixel Conversions using Google Tag Manager

Standard

Setup Standard Dynamic Facebook Pixel in OpenCart using Google Tag Manager 

Recently once client asks me to implement standard dynamic Facebook Pixel for OpenCart using Google Tag Manager and other Facebook events like content view, AddtoCart, InitiateCheckout, Purchase and conversion tracking without touching any plugins.Facebook dynamic pixel help you re targeting users who visited product page or checkout, cart pages without buying a product, For that you require set up a dynamic Facebook pixel in OpenCart to pass dynamic value in content_type, content_ids and contents.

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 Standard Dynamic Facebook Pixel in OpenCart using Google Tag Manager without any plugins

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)– It will tell you some one visited to Product Page to setup viewContent get parameters pass to dynamic value to Facebook Pixel on OpenCart

OpenCart Facebook Pixel

Opencart Facebook Conversion Tracking Pixel using Google Tag Manager

Step 3 – Facebook AddtoCart Pixel – When some body Click on addtoCart button to fire OpenCart Facebook Standard Pixel using Google Tag Manager without any plugins 

Facebook Pixel Tracking

Standard Dynamic Facebook Pixel Tracking using Google Tag Manager

Step 4Facebook InitiateCheckout Pixel –  When a user enters the checkout flow to OpenCart Facebook Standard Pixel using Google Tag Manager without any plugins

OpenCart Standard Dynamic Facebook Pixel

InitiateCheckout facebook pixel using Google Tag Manager without any plugins

Step 5Facebook Purchase Pixel –  When customer completed on purchase on Facebook Pixel setup using Google Tag Manager

OpenCart Facebook Conversion Tracking Pixel

OpenCart Facebook Integration 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 Setup OpenCart Facebook Pixel Conversions using Google Tag Manager 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

Integrate Facebook Conversion Pixel on Magento using Google Tag Manager

Standard

Integrate Facebook Pixel with Magento/Magento 2 using Google Tag Manager without any plugins

Recently once of client asked to implement Facebook pixel on Magento/Magneto 2 using Google Tag Manager without touching any code and Plugin of Mangento. Also client mentioned they want run dynamic Facebook pixel, so that he can retargeting with Facebook pixel with Manento/Magento 2 using Google Tag Manager without any plugins.

Standard Events for Facebook Pixel with Magneto/Mangento 2 using Google Tag Manager without any Plugin with dynamic parameters like content_type and either content_ids or contents

Facebook Conversion Pixel on Magento

Facebook Audience Pixel Tracking using Google Tag Manager

Step 1: Install Google Tag Manager on Advanced Magento 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 to setup viewContent get parameters pass to dynamic value to Facebook Pixel Remarketing on Magento/Magento 2

Facebook Pixels in Magento 2

Integrate Facebook Pixel On Magento/Magento 2 using Google Tag Manager without any plugins

Step 3 – Product Page (AddToCart)– User Visited to Product Page and Click on AddToCart, Product added to Shopping cart to setup Magento/ Magento 2 Facebook Pixel using Google Tag Manager without Any plugins

Facebook Pixel Integration Magento 2

Facebook Pixel implementation for magento 2 using Google Tag Manager without any plugins

Step 4InitiateCheckout –  When user started process to buy a product Magento 2 Facebook Pixel using Google Tag Manager without Any plugins

 Install Facebook Pixel on Magento 2

Magento 2 Facebook Pixel using Google Tag Manager without any plugins

Step 5Purchase –  When user completed purchase setup Facebook Pixel into Magento/Magento 2 using Google Tag Manager without any plugins

Facebook Pixel Integration Magento 2

Magento 2 Facebook Pixe 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 Mangento 2 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

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

Setup Facebook Pixel Tracking With Clickfunnels using Google Tag Manager

Standard

 Set up Facebook Purchase Conversion Pixel on ClickFunnels using Google Tag Manager

Recently once client asked Setup Facebook Purchased Pixel Value on ClickFunnels using Google Tag Manager, Because they want to see which Facebook ads converted into Sales, How many revenue generated from each ad on Facebook, If you are aware of ClickFunnels Process Like Upsell and bump Sell and other offers till complete purchased of Sales, each setup of sales you need to create a purchased pixel and set up the conversion pixel. Before apply Facebook Purchased pixel on ClickFunnels make a test order to understand processes of sales.

1. ClickFunnels Adword Conversion Tracking using Google Tag Manager

2. ClickFunnels Ecommerce Tracking using Google Tag Manager

What is require to set up Facebook Purchase Pixel Setup on Clickfunnels using Google Tag Manager

Setup Facebook Pixel Tracking With ClickFunnels

Set up The New Facebook Pixel In Clickfunnels

Already written below link How to get total revenue using Google Tag Manager on ClickFunnels

ClickFunnels Ecommerce Tracking using Google Tag Manager

First Install Google Tag Manager to Facebook Purchase Conversion Pixel on ClickFunnels 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

Setup Facebook Purchased Pixel on Google Tag Manager with Custom included all the variable like total revenue, Product Category and Product Name  and Setup Trigger on where is completed conversion

Facebook Conversion Pixel On Clickfunnels

Facebook Pixel Tracking With Custom HTML in ClickFunnels using Google Tag Manager

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Setup Facebook Pixel Tracking With Clickfunnels 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

Facebook Conversion Pixel on Bigcommerce Using Google Tag Manager

Standard

Bigcommerce Facebook Conversion Pixel Implement using Google Tag Manager without touching Code on BigCommerce (with Stencil themes or Any theme of BigCommerce) 

Recently once client ask me to Facebook Standard Events pixel include ViewContent, AddtoCart, AddToWishlist, InitiateCheckout, AddPaymentInfo and Purchase Pixel etc.

To Work Advance Facebook Pixel on Bigcommerce using Google Tag Manager 

  content_name: 'Require a Product Name ',
  content_category: 'Require a Product Category',
  content_ids: ['1234'] Require a Product id that must be match with product,
  content_type: 'product',
  value: 0.50, Require a Product revenue ,
  currency: 'USD'

content_name: Require product Name get using Google Tag Manager using a custom javascript/Data Layer
content_category: Require Product Category geting using Google Tag Manager using a Custom Javascript /Data Layer
content_ids:One of toughest job getting product id using google tag manager using a custom, Probably more easier to using Data Layer , 
value: Product amount and Total order value using Google Tag Manager using a custom javascript/Data layer 

1. First Set up Facebook Basic Pixel on Bigcommerce  using Google Tag Manager

<!– Facebook Pixel Code –>
<script>
!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=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘xxxxxxxxxxxxxxxxx’); // Insert your pixel ID here.
fbq(‘track’, ‘PageView’);
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=xxxxxxxxxxxxxxxxx&ev=PageView&noscript=1″
/></noscript>
<!– DO NOT MODIFY –>
<!– End Facebook Pixel Code –>

Facebook Pixel on Bigcommerce

Install The Facebook Pixel In Your Bigcommerce

Note: Make you will replace Facebook Pixel Id with your Facebook Pixel ID XXXXX

2. Write a custom Javascript to get all the value above described for Bigcommerce to work Facebook Pixel

Bigcommerce Facebook Dynamic Product Ads

Add dynamic conversion value, Product id , Product Name, Product Category with BigCommerce

3.ViewContent – Need to verify to facebook viewContent Pixel with facebook helper and implement through Google Tag Manager

ViewContent big commerce facebook pixel

ViewContent Facebook Pixel in Bigcommerce

4. AddToCart – When a product is added to click on add to cart button using Google Tag Manager on Bigcommerce Facebook Pixel

AddToCart facebook pixel bigcommerce

AddToCart facebook pixel bigcommerce

4. Purchase – When a Purchased completed on Bigcommerce Facebook Pixel using Google Tag Manager

Bigcommerce Facebook Conversion Tracking

Facebook Conversion Tracking on Bigcommerce

Warning:if you do n’t know about javascript/ Datalayer/Jquery or do n’t have developing knowledge then do n’t try Facebook Conversion Pixel on Bigcommerce Using Google Tag Manager a custom javascript without using Any plugin 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

Advance Facebook Pixel Setup for Woocommerce without Plugin using Google Tag Manager

Standard

 To Implement Advance Facebook Pixel Setup Woocommerce using Google Tag Manager without Any Plugins

Recently once client asked me to set up Advance Faebook Pixel using Google Tag Manager in Woocommerce without putting Code on the website and he said website is fully customized but not update with Woocommerce version and not even use any plugin on the website. Then I have decided to implement through Google Tag Manager.

What is challenge here to set up entire advance facebook pixel using Google Tag Manager 

  1. ViewContent :  To implement ‘ViewContent’  (viewed such as a product page)  Require to value, currency, content_name, content_type, content_ids

Here is difficult Part is How to getcontent_ids’ I have decided to write a javascript to get product so that will work . After making couple hours testing to get product finally get its product using google tag manager that’s actually working.

Woocommerce Product id using Google Tag Manager

Woocommerce Product id using Google Tag Manager

content_name:  Now it’s time product name using Google Tag Manager and obviously using custom javascript and Jquery, it’s quite easy to get product name easily using custom javascript 

Woocommerce Product for Facebook pixel

Product Name for Advance Facebook pixel

Value:  Actually ‘value’ means product price without including revenue, symbol, To get product does not take much time getting the product price without revenue.

Using Custom Javascript To Product Price Woocommerce

Get Product Price in Woocommerce using Google Tag Manager

content_type: For this ‘content_type’ actually does not require any javascript, just simply write “content_type: ‘product’ “only that must be fire on product Pages

Finally got all the value now ready to implement on website let see result on Woocommerce for Advance Facebook Pixel.

Step 1.1 First Require to Setup Basic Facebook pixel on all the pages on Woocommerce with help of Google Tag Manaager

The pixel base code tracks activity on your website, providing a baseline for measuring specific events.
Copy the base code below and paste it between the header tags on every page of your website:
<!– Facebook Pixel Code –>
<script>
!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=’2.0′;
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,’script’,
 
fbq(‘init’, ‘xxxxxxxxxxxxxx’);
fbq(‘track’, ‘PageView’);
</script>
<noscript>
<img height=”1″ width=”1″
&noscript=1″/>
</noscript>
<!– End Facebook Pixel Code –>

Note:  Make sure you will replace ‘xxxxxxxxxxxxxx’ with actually facebook conversion id 

Step 1.2 ViewContent : Now it’s time to Set up ‘ViewContent’ pixel on the website on Woocommerce with help of Google Tag Manager.

<!– Facebook Pixel Code –>
<script>
!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=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘track’, ‘ViewContent’, {
content_ids: ‘{{Product ID}}’,
content_name: ‘{{Product Name}}’,
content_type: ‘product’,
value: ‘{{Product Price}}’,
currency: ‘EUR’
});
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=xxxxxxxxx&ev=ViewContent&cd[content_ids]='{{Product ID}}’&cd[content_name]='{{Product Name}}’&cd[value]='{{Product Price}}’&cd[currency]=’EUR’&noscript=1&noscript=1″
/></noscript>
<!– DO NOT MODIFY –>
<!– End Facebook Pixel Code –>

Now Configure Trigger, Tag and Event Triggers in Google Tag Manager in Woocommerce For Facebook Advance Pixel

Facebook pixel ViewContent Woocommerce

ViewContent Woocommerce Facebook Pixel using Google Tag Manager

 Now it’s time verify result using Facebook Pixel Helper.

Facebook Pixel to WordPress Without A Plugin

2. AddToCart:  To implement ‘AddToCart’ (Product adding to shopping cart) Require to value, currency, content_name, content_type, content_ids, all the value already get above

<!– Facebook Pixel Code –>
<script>
!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=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘track’, ‘Add to cart’, {
content_ids: ‘{{Product ID}}’,
content_name: ‘{{Product Name}}’,
content_type: ‘product’,
value: ‘{{Product Price}}’,
currency: ‘EUR’
});
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=xxxxxxxxx&ev=Add to cart&cd[content_ids]='{{Product ID}}’&cd[content_name]='{{Product Name}}’&cd[value]='{{Product Price}}’&cd[currency]=’EUR’&noscript=1&noscript=1″
/></noscript>
<!– DO NOT MODIFY –>
<!– End Facebook Pixel Code –>

Facebook AddToCart Pixel for Woocommerce

WooCommerce Facebook pixel with Dynamic Ads using Google Tag Manager

3. InitiateCheckout:  To implement ‘InitiateCheckout‘ (Product adding to checkout page) Require to value, currency, content_name, content_type, content_ids, all the value already get above using Google Tag Manager without touching any Plugin

 Facebook Pixel For WooCommerce

WooCommerce Facebook pixel using Google Tag Manager

4. Purchase:  To implement ‘Purchase‘ (on Order confirmation page for woocommerce ) Require to value, currency, content_name, content_type, content_ids, all the value already get above using Google Tag Manager without touching any Plugin

Track Facebook Pixel Conversion WooCommerce

Track Facebook Pixel Conversion on WooCommerce using Google Tag Manager

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Advance Facebook Pixel Setup for Woocommerce without Plugin using Google Tag Manager without touching website Code 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 Upwork: Upwork.com

I am available for Hire on Freelancer: Freelancer.com

I am available for Hire on Peopleperhour: Peopleperhour.com

I am available for Hire on Guru: Guru.com