If you are not using a custom CMS then you can use plugins to generate the dataLayer and add GTM to all pages, this will save LOTS of time! Here are some examples…

 

Plugin: GTM for Magento

Plugin: GTM for WordPress & WooCommerce

Plugin: GTM for Drupal

Plugin: GTM for Joomla

0117 3361103