OpenCart Google Adwords Dynamic Remarketing Setup using Google Tag Manager without any Plugins
Recently, one of client asks to implement Dynamic Remarketing Pixel setup on Opencart using Google Tag Manager without any plugins. Google Ads Dynamic Remarketing Tag to pass custom parameters using Google Tag Manager without touching Code of the openCart. To Pass custom variable ecomm_prodid, ecomm_pagetype and ecomm_totalvalue, To work dynamic remarekting in OpenCart , You require to setup dynamic paramaters in Google Analytic as Custom Dimension.
- ecomm_prodid: “REPLACE_WITH_STRING_VALUE“,
- ecomm_pagetype: “REPLACE_WITH_STRING_VALUE“,
- ecomm_totalvalue: REPLACE_WITH_STRING_VALUE
Step 1: Install Google Tag Manager on OpenCart Google Adwords Dynamic Remarketing Setup using Google Tag Manager without any plugins
<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 –>
<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 – Home Page – Google Adwords Dynamic Remarketing Setup for OpenCart using Google Tag Manager without touching website code or any Plugins
Step 3 – Product Page – When users are visited to product pages then based on that users retargeted Google Adwords Dynamic Remarketing in OpenCart using Google Tag Manager without any plugins
Step 4 – Cart Page – When user entered to Cart Pages to Dynamic Remarketing Tags in Opencart using Google Tag Manager without any plugins
Step 5 – Purchase – When user will complete purchased based dynamic remarketing that will not retargeted on Opencart Dynamic Remarketing 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 OpenCart Google Adwords Dynamic Remarketing 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