Dynamic Google Ads Conversion tracking for Ruby on Rails using Google Tag Manager

Standard

Dynamic Google Ads Conversion Tracking for Ruby on Rails using Google Tag Manager without Any Plugins

Recently once of client ask me to implement Dynamic Ads Conversion Tracking on Ruby on Rails using Google Tag Manager without Any Plugins. Once I looked the Ruby on Rails and asked to client need to place a test, To see the possibility of Dynamic Google Ads Conversion tracking for Ruby, Once I placed a test order, then I saw the possibility of Dynamic Ads Conversion Tracking, For Google Ad Conversion Tracking you need pass dynamic value of the transaction total and Transaction Id for avoid duplicate transaction.

Step 1: Install Google Tag Manager on Dynamic Google Ads Conversion tracking for Ruby on Rails 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

It’s time to verify Get value of Dynamic Google Ads Conversion tracking for Ruby on Rails using Google Tag Manager without any plugins

Dynamic Google Ads Conversion tracking for Ruby on Rails

Get Dynamic Values in Dynamic Google Ads Conversion tracking for Ruby on Rails 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 Dynamic Google Ads Conversion tracking for Ruby on Rails 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

 

 

 

Dynamic Google AdWords Conversion Tracking for PrestaShop using Google Tag Manager

Standard

Dynamic Google AdWords Conversion Tracking for PrestaShop using Google Tag Manager without any plugins

Recently one client asks me to integrate Dynamic Google Ads/Adwords Conversion Tracking for PrestaShop using Google Tag Manager without any plugins. Dynamic value of transaction total from order confirmation Page, It will send a dynamic transaction amount for each order came from Adward that will report in the Adword as Conversion Column of Campaign, So that you will know, How revenue generated from Google Ads Campaign, that will help you calculate actual ROI generated from Google Ads.

Step 1: Install Google Tag Manager on Dynamic Google AdWords 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

It’s time to verify Get value of Dynamic Google AdWords Conversion Tracking for PrestaShop using Google Tag Manager without any plugins and help you measure Google Ads Campaign

Dynamic Google AdWords Conversion Tracking for PrestaShop

Dynamic Google Ads Conversion Tracking Tracking for PrestaShop using Google Tag Manager without Plugins

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Setup Dynamic Google Ads Conversion Tracking Tracking for PrestaShop 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 Dynamic Google Adwords Conversion Tracking in Magento 2

Standard

Setup Dynamic Google Adwords Conversion Tracking in Magento/Magento 2 using Google Tag Manager without any plugins

Recently one client asks me to implement dynamic google ads conversion tracking in Magneto/Magento 2 using Google Tag Manager without any plugins, In Magento, the Order confirmation page you will not see any amount, you will see only order id, I used another technique to use get the total amount from order confirmation Magneto / Magento 2 using Google Tag Manager without any plugins, Get total amount of transaction from Order confirmation page of Magento / Magento 2 using Google Tag Manager to pass dynamically pass total revenue.

Step 1: Install Google Tag Manager on Magento / Magento 2 using Google Tag Manager to setup dynamic adword conversion tracking 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

It’s time to verify Get value of Dynamic adword/ Ads conversion tracking in Magento / Magento 2 using Google Tag Manager without any plugins 

Adwords Conversion Tracking in Magento

Get Dynamic Values in AdWords Conversion Tracking in Magento / Magento 2 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 Dynamic Google Adwords Conversion Tracking in Magento 2 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

Dynamic Google AdWords Conversion Tracking on Drupal

Standard

Get Dynamic Google AdWords Conversion Value Tracking on Drupal using Google Tag Manager without touching Code

Recently, one of the client has asked me to implement to track transaction-specific conversion values on Drupal using Google Tag Manager, Once I will look the Drupal and ask to client allow a test order on the Drupal, Once I place a test order, then I see possibilities without touch code of the website and pass Dynamic value of Specific transaction using Google Tag Manager, Once I will write pieces of code in Google Tag Manager then it’s work without touching code of Drupal.

Step 1: Install Google Tag Manager on Drupal, To Set Up Dynamic Google Adword ConversionTracking on Drupal using Google Tag Manager without touching Code of Drual 

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

Once look order confirmation and written piece of Javascript to get value of total amount and Track transaction-specific conversion values using Google Tag Manager

Dynamic Google AdWords Conversion Tracking on Drupal

Google AdWords Conversion Tracking Drupal

Warning: If you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Drupal Dynamic Google AdWords Conversion Tracking  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 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

Google Dynamic Adwords Conversion for HikaShop using Google Tag Manager

Standard

Setup Dynamic Adwords Conversion Tracking and Facebook Purchase Conversion Pixel for HikaShop (Joomla) using Google Tag Manager 

Recently on client ask me to dynamic adword conversion tracking using Google Tag Manager for HikaShop (Joomla), Once you will look HikaShop (Joomla) that’s bit complected to track dynamic Adword Conversion tracking using Google Tag Manager for HikaShop (Joomla), Once I asked to client to give access of FTP, look back-end code and found two ways to tracking Dynamic Adword Conversion Tracking, Either Write a data layer  to pass value total transaction amount for HikaShop (Joomla) Dynamic Adwords Conversion tracking or Need to write a cookie collect total amount value using Google Tag Manager to work Dynamic Adword Conversion tracking for HikaShop (Joomla).

Putted custom Data layer on Joomla HikaShop written a separate script for Pass data layer on Order Confirmation Pages to Dynamic Google Adword Conversion Tracking for HikaShop (Joomla).

Are you looking Ecommerce Tracking for Joomla Hikashop

  • First Install Google Tag Manager on Joomla (Hikashop) for Google Tag Manager for HikaShop for Dynamic Adword Conversion Tracking
  • 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

Written Data Layer Script on Order Confirmation page on Hikashop for Google Dynamic Adwords Conversion Tracking to get total Order value of Total Amount using Google Tag Manager

Google Adwords Conversion for HikaShop

Setup Dynamic Adwords Conversion Tracking HikaShop (Joomla)

Warning:if you do n’t know about javascript/ Datalayer/Jquery or do n’t have developing knowledge then do n’t try Joomla Hikashop Google Tag Manager Dynamic Adwords Conversion for HikaShop without touching Codea 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

Dynamic Adword Conversion Tracking Code in Oscommerce using Google Tag Manager

Standard

Track transaction-specific conversion values in Oscommerce (gtag.js)

Recently one of client ask me to implement dynamic adword conversion on directly putting code  or also using Google Tag Manager on Oscommerce with (gtag.js), Once I looked Oscommerce asked to make test order once I place a tested then I told it’s possible implemented directly (gtag.js) and also using Google Tag Manager.

Just written a Custom PHP Code with (gtag.js) that will help you track dynamic adword Conversion tracking using (gtag.js) for Oscommerce

<script>
gtag(‘event’, ‘conversion’, {
‘send_to’: ‘AW-xxxxx/xxxxxxxxxxx’,
‘value’: xxxxxxxxxxxxxxxxxxxxxxxxxx,
‘currency’: ‘AUD’,
‘transaction_id’: ‘xxxxxxxxxxxxxxx’
});
</script>

First you need write a custom php on Success Pages on Oscommerce (gtag.js) to track dynamic Adword conversion tracking for Oscommerce

Like that 

<?php
if ((basename($PHP_SELF) == FILENAME_CHECKOUT_SUCCESS)

Warning:if you do n’t know about javascript/ Custom PHP Code or do n’t have developing knowledge then do n’t try to Dynamic Adword Conversion Tracking Code in Oscommerce a custom javascript/ Custom PHP 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

ClickFunnels Adword Conversion Tracking using Google Tag Manager

Standard

Track adwords Conversions Tracking with Clickfunnels using Google Tag Manager

Recently, one of client asks me to track Dynamic Adword conversion with ClickFunnels using Google Tag Manager. Already written a previous post , How to track E-commerce tracking in ClickFunnels using Google Tag Manager (http://googletagmanagersolution.com/click-funnel-ecommerce-tracking-using-google-tag-manager/) same concept is going to apply to track ClickFunnels Dynamic Adword Conversion Tracking using Google Tag Manager.

When you will start working on Adword conversion tracking for ClickFunnels make sure you will All the UpSell and Apply adword conversion when Upsell finish or does not go to UpSell. And Make sure you will make a test sale before start implement adword conversion tracking on ClickFunnels using Google Tag Manager.

1. Setup Facebook Pixel Tracking With Clickfunnels using Google Tag Manager

2. ClickFunnels Ecommerce Tracking using Google Tag Manager

Integrate ClickFunnels with Google Adword Conversion Tracking using Google Tag Manager

First Install Google Tag Manager to Track adwords Conversions Tracking with Clickfunnels

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

For Dynamic Adwords Conversions Tracking with Clickfunnels using Google Tag Manager used Custom Javascript 

  1. Ge Total Revenue Value of UpSell and other Revenue tracking using Google Tag Manager on ClickFunnels

    clickfunnels conversion tracking

    ClickFunnels Dynamic Adword Conversion Tracking using Google Tag Manager

Now it’s time to verify Adword Conversion Tracking for ClickFunnels using Google Tag Manager

ClickFunnels Adwords Conversion Tracking Tag Manager

Adword Conversion Tracking 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 implement on ClickFunnels Adword Conversion Tracking 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

Bigcommerce Dynamic Adwords Conversion Tracking using Google Tag Manager

Standard

Dynamic Adwords conversion Tracking in BigCommerce using Google Tag Manager

Recently, one of my clients asks me to implement dynamic adword conversion tracking using Google Tag Manager include an order id with Dynamic total revenue using Javascript to avoid duplicate adword Transaction.

Once I looked his website and found there was an error in Google Tag Manager code that was not placed on the right place, quite difficult to place right place because, these errors found in the most BigCommerce product Pages and Home Pages.

  1. GTM JavaScript code not found as a direct child of the <head> tag
  2. GTM no-script code not found: either missing or not in <body>

To Work Google Tag Manager in BigCommerce without any Error I modified tracking theme code of BigCommerce (Stencil)

BigCommerce Google Adwords Conversion Tracking

BigCommerce Google Adwords Conversion Tracking using Google Tag Manager

  1. First Install Google Tag Manager on Your Bigcommerce for BigCommerce Google Adwords Dynamic Conversion 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

2. Written a Custom Javascript to get order id and Total Order value using Google Tag Manager for Adword Dynamic conversion for Bigcommerce

3.  Now it’s time to verify Dynamic Adwords conversion Tracking in BigCommerce through Google Tag Manager with help of Google Tag Assistant 

Adwords Conversion Tracking Tag Manager

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Google Analytic Dynamic Adwords conversion Tracking in 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

AdWords dynamic conversion values in Google Tag Manager

Standard

Recently once client asks me to setup google AdWords dynamic conversion values in Google Tag Manager before that he getting an error on Dynamic adword conversion tracking “Conversion Value should be prefixed with standard currency.”, “Conversion Value USD%20%2023“, conversion value not set“, “Double counting Adword Conversion Tracking”, “No HTTP response detected”, “Missing CDATA comments.” and “Non-standard implementation”

Here is two method Setup Dynamic Adword Conversion Tracking  either using Google Tag Manager or Directly Place a Code on Success with Require Dynamic Order Value.

Require following parameters to Set up correct Dynamic adword Conversion using Google Tag Manager or Success Pages

    1. Conversion ID  In the code box, the number after “var google_conversion_id = ” is the Conversion ID, and the number after “var google_conversion_label = ” is the Conversion Label
    2. Conversion Label – In the code box, the number after “var google_conversion_id = ” is the Conversion ID, and the number after “var google_conversion_label = ” is the Conversion Label.
    3. Conversion Value Total transaction value for every order “integrate transaction-specific”
    4. Order ID – Passing a dynamic order ID helps to avoid counting duplicate conversions.  If there are two conversions for the same conversion action with the same order ID, AdWords will know the second conversion is a duplicate, and it won’t be counted. The order ID must be unique for each order. The order IDs must not include any information that could be used to identify individual customers. It can include numbers, letters, and special characters like dashes or spaces, with a character limit of 64 characters.

Before actually set up dynamic adword conversion Tracking , you require to changes in google adword

See below changes in Google Adword

Dynamic Adword Conversion Tracking

Conversion ValueGetting a  Total Order value for adword conversion tracking two way, either you can place a data layer on success page or you can use custom javascript 

How to adword dynamic conversion tracking code to PHP pages

<!-- Google Code for Purchase Conversion Page -->
	<script type="text/javascript">
	/* <![CDATA[ */
	var google_conversion_id = 1234567890;
	var google_conversion_language = "en";
	var google_conversion_format = "1";
	var google_conversion_color = "666666";
	var google_conversion_label = "xxxxXXx1xXXX123X1xX";
	if (<? echo $totalValue ?>) {
		var google_conversion_value = <? echo $totalValue ?>;
		var google_conversion_currency = <? echo $currency ?>;
	}
	var google_conversion_currency = "USD";
        var google_remarketing_only = false;
	/* ]]> */ 
	</script>
	<script type="text/javascript"
	src="//www.googleadservices.com/pagead/conversion.js">
	</script>
	<noscript>
        <div style="display:inline;">
	<img height="1" width="1" style="border-style:none;" alt=""
	src="//www.googleadservices.com/pagead/
	conversion/1234567890/?value=
	<?echo $totalValue ?>&amp;currency_code=<? echo $currency ?>
	&amp;label=xxxxXXx1xXXX123X1xX&amp;guid=ON&amp;script=0">
        </div>
	</noscript>
	</body>

or Using Custom Javascript like

function(){

var total order = document.querySelector(“condition here”).innerText.match(/^.{1}(.*).{0}/i)[1].trim();

return total order;

}

Total Order Value for Dynamic Adword Conversion Tracking

Using Custom Javascript get total value of order for dynamic adwrod conversion tracking

Now it’s time check a result on the website using Google Tag Assistant 

 

Dynamic Adword Conversion Tracking

If you have an issue on adword conversion/Dynamic Adword Conversion tracking counting Double or duplicate in WordPress , Woocomerce, Magento, Shopify , Drupal, wix, Weebly , Joomla  etc any type of custom Cms.

For Contact: mappchero@gmail.com

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to implement Dynamic Adword Conversion tracking using Google Tag Manager without, it may be stop form submission  

Disclaimer: Google tag manager belongs to Google property