Setup Crieto OneTag for Drupal using Google Tag Manager without touching Code of Drupal
Recently once client ask me to implement Criteo OneTag via Google Tag Manager without touch Code of Drupal, I asked client run a test order to see possibility via Google Tag Manager for Crieto OneTag for Drupal. I placed a test order on Drupal for Criteo OneTag after placed test order all the possibility to setup without touching code of Drupal using Google Tag Manager for Drupal.
Require these Tags need to Implement Criteo OneTag on Drupal to Work using Google Tag Manager
- Homepage dataLayer using Google Tag Manger for Crieto OneTag for Drupal
- Listing page dataLayer using Google Tag Manager for Crieto OneTag for Drupal
- Product page dataLayer using Google Tag Manager for Crieto OneTag for Drupal
- Basket page dataLayer using Google Tag Manager for Crieto OneTag for Drupal
- Sales Confirmation page dataLayer using Google Tag Manager for Crieto OneTag for Drupal
1. Install Google Tag Manager via Google Tag Manager on Implement Criteo OneTag via Google Tag Manager for Drupal
<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
2. Homepage dataLayer: Implemented Criteo OneTag on Drupal using Google Tag Manager
3.Listing page dataLayer: Implemented Criteo OneTag on Drupal using Google Tag Manager on Listed Products Pages
4.Product page dataLayer: Implemented Criteo OneTag on Drupal using Google Tag Manager on product Page
5.Basket page dataLayer: Implemented Criteo OneTag on Drupal using Google Tag Manager on Basket page or Cart
5.Sales Confirmation page dataLayer: Implemented Criteo OneTag on Drupal using Google Tag Manager on Criteo OneTag Implemented on Sales Confirmation
Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to Criteo OneTag on Drupal 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