{"id":6654,"date":"2014-01-27T20:20:34","date_gmt":"2014-01-27T20:20:34","guid":{"rendered":"http:\/\/ludismedia.com\/?p=6654"},"modified":"2015-03-23T09:09:22","modified_gmt":"2015-03-23T14:09:22","slug":"guide-to-e-commerce-conversion-tracking-using-google-tag-manager","status":"publish","type":"post","link":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/","title":{"rendered":"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager"},"content":{"rendered":"<p>So, I came up with this fantastic idea to setup the script management of one of the clients I manage with <a href=\"https:\/\/www.google.com\/tagmanager\/\">Google Tag Manager<\/a>, which is quite a fantastic idea for normal tags like <a href=\"http:\/\/www.google.com\/analytics\/\">Google Analytics<\/a>, Remarketing tags and so on.<\/p>\n<p>But then came the fun part: Conversion tracking with the <strong>GTM<\/strong> isn&#8217;t exactly what I expected; what I thought was Plug &amp; Play came out to be just not compatible. The original <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/gajs\/gaTrackingEcommerce\">Google Analytics e-Commerce tracking<\/a> snippet doesn&#8217;t seem to speak the magical language of the Google Tag Manager wizard, which disappointed me quite a bit. Needless to say I went on a fantastic journey trying to decode the oh-so-simple-and-elaborate Google documentation relating to <em>e-Commerce tracking with the Google Tag Manager<\/em>. After achieving what was told to me like impossible by some of my peers, I thought I would setup a guide to <strong>e-Commerce Tracking using Google Tag Manager<\/strong> just in case someone else would be looking to go the same route.<\/p>\n<p>If you are not familiar with what the <strong>Google Tag Manager<\/strong> is all about, it&#8217;s pretty simple. The Google Tag Manager is a snippet manager where you can manage where and when you show these snippets on pages using triggers. Sounds fun? Read on.<\/p>\n<p>DISCLAIMER: Although these steps have proven to give good results for my clients, everything presented here must be seen as a proof of concept and may harm your Magento installation if things go wrong in some way. Therefore, the author, Pier-Yves C Valade, and Ludis Media discharge themselves from anything that could happen to any website by following the steps described in this article. The employment of a Magento specialist is highly recommended.<\/p>\n<h2>Setting Up The Google Tag Manager Account<\/h2>\n<p>If you don&#8217;t already have your Google Tag Manager account setup and ready, go on and <a title=\"Google Tag Manager Account Sign Up\" href=\"https:\/\/www.google.com\/tagmanager\/\" target=\"_blank\">create one<\/a>. I recommend you take a look at this <a href=\"http:\/\/www.bigdaylight.com\/analytics\/google-tag-manager-analytics-tracking\/\">step-by-step guide<\/a> from Big Daylight so that you can setup everything properly.<\/p>\n<p>Make sure to <strong>put the Google Tag Manager snippet right after the opening of the &lt;body&gt; tag<\/strong> so that everything works as it is supposed to. Here&#8217;s what it looks like once on your page:<\/p>\n<pre>&lt;html&gt;\r\n    &lt;head&gt;\r\n        [...]\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;!-- Google Tag Manager --&gt;\r\n        &lt;noscript&gt;&lt;iframe src=\"\/\/www.googletagmanager.com\/ns.html?id=GTM-XXXXX\"\r\n        height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"&gt;&lt;\/iframe&gt;&lt;\/noscript&gt;\r\n        &lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\r\n        new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\r\n        j=d.createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j.async=true;j.src=\r\n        '\/\/www.googletagmanager.com\/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\r\n        })(window,document,'script','dataLayer','GTM-XXXXX');&lt;\/script&gt;\r\n        &lt;!-- End Google Tag Manager --&gt;\r\n\r\n        [...]<\/pre>\n<h2>Adding the Google Tag Manager Snippet to your Magento Installation<\/h2>\n<p>Here&#8217;s a way to update your Magento install in order to make the GTM pop right in place. Simply make your way to this file and make it look exactly the same as this and save.\u00a0Beware that this will remove any classic Google Analytics tag that would&#8217;ve been present.<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/gtm-magento-ga-phtml-screenshot.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11572 \" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/gtm-magento-ga-phtml-screenshot.jpg\" alt=\"gtm-magento-ga-phtml-screenshot\" width=\"600\" height=\"236\" srcset=\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/gtm-magento-ga-phtml-screenshot.jpg 600w, https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/gtm-magento-ga-phtml-screenshot-300x118.jpg 300w, https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/gtm-magento-ga-phtml-screenshot-160x62.jpg 160w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Once it&#8217;s done, make your way in the Magento Admin Backend to <em>System -&gt; Configuration -&gt; Sales -&gt; Google API<\/em> and expand the Google Analytics section. Make sure to <strong>Enable<\/strong> the feature and add your Google Tag Manager container ID to the Account Number field. Hit save and you should have your GTM tag up and running on all your pages.<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11575 \" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel.jpg\" alt=\"google-analytics-magento-admin-panel\" width=\"560\" height=\"300\" srcset=\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel.jpg 560w, https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel-300x160.jpg 300w, https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel-160x85.jpg 160w, https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-analytics-magento-admin-panel-280x150.jpg 280w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Make sure to do the other steps below BEFORE making this change. Otherwise, this change will result in Google Analytics data loss during the process.<\/p>\n<h2>Creating The Google Analytics Conversion Tag<\/h2>\n<p>Once you have your <strong>Google Analytics<\/strong> tag setup in GTM, what you will want to do is create another Google Analytics tag, made for transaction tracking this time, that will be able to see the data we will be serving it. Make sure to set the track type to &#8220;Transaction&#8221; instead of &#8220;Page View&#8221;!<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-transactions-configuration.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6676\" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-transactions-configuration.jpg\" alt=\"google-tag-manager-transactions-configuration\" width=\"600\" height=\"318\" \/><\/a><\/p>\n<p>Once this tag is setup, we will need to trigger it on the right thank you page.<\/p>\n<h2>Triggering The Google Analytics Conversion Tag<\/h2>\n<p>Triggering the tag we just created is quite easy, just click on the right on the button to add a triggering rule.<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-trigger-button.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6677\" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-trigger-button.jpg\" alt=\"google-tag-manager-trigger-button\" width=\"600\" height=\"318\" \/><\/a><\/p>\n<p>Once you get to the popup, the next step is to name the rule to something like &#8220;Transaction Thank You Page&#8221; and make it trigger only on the url containing the exact path to your thank you page, let&#8217;s say &#8220;\/checkout\/success&#8221;. Make sure to also add an event listener to &#8220;gtm.dom&#8221;, a built-in event that triggers once the page is fully loaded, so that you also fetch everything coming <b>after<\/b> the Google Tag Manager&#8217;s script.<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-triggering-rule-popup.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6680\" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/google-tag-manager-triggering-rule-popup.jpg\" alt=\"google-tag-manager-triggering-rule-popup\" width=\"600\" height=\"544\" \/><\/a><\/p>\n<p>Then, save both the rule and the tag and publish your container.<\/p>\n<h2>Adding The dataLayer Object Magic To The Thank You Page<\/h2>\n<p>Now, you should have everything properly setup on the Google Tag Manager&#8217;s side. It is time to compute the transaction data and serve it to your freshly made tag.<\/p>\n<p>Maybe you are already familiar to the _gaq object and the _trackTrans method which is the old method of when you weren&#8217;t using <strong>Google Tag Manager<\/strong>. It looks quite the same but it is named <strong>dataLayer<\/strong> instead of _gaq. You can also use the datalayer.push() method with it, but that&#8217;s another topic.<\/p>\n<p>There&#8217;s many ways to fill and use the dataLayer object but here&#8217;s what mine looks like with the required variables filled in and how I managed to get to it with the <strong>Magento<\/strong> backend.<\/p>\n<h3>The Magento PHP code underneath<\/h3>\n<pre>File: \/app\/code\/local\/Mage\/GoogleAnalytics\/Block\/Ga.php\r\n&lt;?php\r\n    protected function _getOrdersTrackingCode(){\r\n        $orderIds = $this-&gt;getOrderIds();\r\n        if (empty($orderIds) || !is_array($orderIds)) {\r\n            return;\r\n        }\r\n        $collection = Mage::getResourceModel('sales\/order_collection')\r\n            -&gt;addFieldToFilter('entity_id', array('in' =&gt; $orderIds))\r\n        ;\r\n\r\n        $aOrders = array();\r\n        foreach ($collection as $order) {\r\n            $objOrder = new stdClass();\r\n            $objOrder-&gt;transactionId = $order-&gt;getIncrementId();\r\n            $objOrder-&gt;transactionAffiliation = Mage::app()-&gt;getStore()-&gt;getFrontendName();\r\n            $objOrder-&gt;transactionTotal = $order-&gt;getBaseGrandTotal();\r\n            $objOrder-&gt;transactionTax = $order-&gt;getBaseTaxAmount();\r\n            $objOrder-&gt;transactionShipping = $order-&gt;getBaseShippingAmount();\r\n\r\n            $aItems = array();\r\n            foreach ($order-&gt;getAllVisibleItems() as $item) {\r\n                $objItem = array();\r\n                $objItem['sku'] = $item-&gt;getSku();\r\n                $objItem['name'] = $item-&gt;getName();\r\n                $objItem['category'] = null; \/\/todo\r\n                $objItem['price'] = $item-&gt;getBasePrice();\r\n                $objItem['quantity'] = $item-&gt;getQtyOrdered();\r\n                $aItems[] = (object) $objItem;\r\n            }\r\n\r\n            $objOrder-&gt;transactionProducts = $aItems;\r\n            $aOrders[] = $objOrder;\r\n        }\r\n\r\n        $strToReturn = '';\r\n        foreach($aOrders as $objFinalOrder){\r\n            $strToReturn .= sprintf('dataLayer.push(%s);', json_encode($objFinalOrder));\r\n        }\r\n\r\n        return $strToReturn;\r\n    }\r\n?&gt;<\/pre>\n<h3>The HTML page dataLayer output<\/h3>\n<pre>&lt;script&gt;\r\n    dataLayer.push({\r\n        'transactionId': '1234',\r\n        'transactionAffiliation': 'Acme Clothing',\r\n        'transactionTotal': 11.99,\r\n        'transactionTax': 1.29,\r\n        'transactionShipping': 5,\r\n        'transactionProducts': [{\r\n            'sku': 'DD44',\r\n            'name': 'T-Shirt',\r\n            'category': 'Apparel',\r\n            'price': 11.99,\r\n            'quantity': 1\r\n        },{\r\n            'sku': 'AA1243544',\r\n            'name': 'Socks',\r\n            'category': 'Apparel',\r\n            'price': 9.99,\r\n            'quantity': 2\r\n        }]\r\n    });\r\n&lt;\/script&gt;<\/pre>\n<h2>Allowing some time to testing<\/h2>\n<p>Once you manage to setup everything right, the next thing you will need to do is test things up! The last thing you would like to do is stop tracking data in you Google Analytics eCommerce profile. So, go on and make a test purchase or wait until you have some purchases you know you can check if they got through the whole process. If everything works as planned, you should have data flowing through in the next 24 hours.<\/p>\n<p><a href=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/ecommerce-tracking-google-analytics-dashboard.jpg\" class=\"hoverBorder aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6684\" src=\"http:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/ecommerce-tracking-google-analytics-dashboard.jpg\" alt=\"ecommerce-tracking-google-analytics-dashboard\" width=\"600\" height=\"251\" \/><\/a><\/p>\n<p>So, it&#8217;s as simple as that! Now, go on and enjoy the magic of the dataLayer!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I came up with this fantastic idea to setup the script management of one of the clients I manage with Google Tag Manager, which is quite a fantastic idea for normal tags like Google Analytics, Remarketing tags and so on. But then came the fun part: Conversion tracking with the GTM isn&#8217;t exactly what<\/p>\n","protected":false},"author":4,"featured_media":6686,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"twitterCardType":"summary_large_image","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[60,61],"tags":[],"class_list":["post-6654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-measure-optimize","category-ppc-advertising-campaign"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media<\/title>\n<meta name=\"description\" content=\"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media\" \/>\n<meta property=\"og:description\" content=\"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Ludis Media\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Ludismedia\" \/>\n<meta property=\"article:author\" content=\"http:\/\/www.facebook.com\/pieryvescv\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-27T20:20:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-23T14:09:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"222\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pier-Yves C Valade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pier-Yves C Valade\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/\",\"url\":\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/\",\"name\":\"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media\",\"isPartOf\":{\"@id\":\"https:\/\/ludismedia.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg\",\"datePublished\":\"2014-01-27T20:20:34+00:00\",\"dateModified\":\"2015-03-23T14:09:22+00:00\",\"author\":{\"@id\":\"https:\/\/ludismedia.com\/#\/schema\/person\/1dd88a2628115ab7d91c313a9ba7ad7d\"},\"description\":\"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.\",\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage\",\"url\":\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg\",\"contentUrl\":\"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg\",\"width\":600,\"height\":222,\"caption\":\"banner-google-tag-manager-conversion-tracking\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ludismedia.com\/#website\",\"url\":\"https:\/\/ludismedia.com\/\",\"name\":\"Ludis Media\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ludismedia.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ludismedia.com\/#\/schema\/person\/1dd88a2628115ab7d91c313a9ba7ad7d\",\"name\":\"Pier-Yves C Valade\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/ludismedia.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0db2074af6e9d8529e075e2d10136d61?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0db2074af6e9d8529e075e2d10136d61?s=96&d=mm&r=g\",\"caption\":\"Pier-Yves C Valade\"},\"description\":\"I'm currently an SEO, PPC and Analytics specialist here at Ludis Media! Always looking for new challenges, I am a leader who\u2019s not afraid of anything! I am in constant improvement in all facets of my life and aims at every moment to excel. I am an excellent communicator and also have an open mind. On a more personal side, I am fond of scotch, cars, bikes and great food! I love Hans!\",\"sameAs\":[\"http:\/\/ludismedia.com\",\"http:\/\/www.facebook.com\/pieryvescv\",\"http:\/\/www.linkedin.com\/in\/pieryvescv\",\"https:\/\/x.com\/pycvalade\",\"http:\/\/www.youtube.com\/user\/serial890\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media","description":"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media","og_description":"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.","og_url":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/","og_site_name":"Ludis Media","article_publisher":"https:\/\/www.facebook.com\/Ludismedia","article_author":"http:\/\/www.facebook.com\/pieryvescv","article_published_time":"2014-01-27T20:20:34+00:00","article_modified_time":"2015-03-23T14:09:22+00:00","og_image":[{"width":600,"height":222,"url":"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg","type":"image\/jpeg"}],"author":"Pier-Yves C Valade","twitter_misc":{"Written by":"Pier-Yves C Valade","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/","url":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/","name":"A Guide To E-Commerce Conversion Tracking Using Google Tag Manager - Ludis Media","isPartOf":{"@id":"https:\/\/ludismedia.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage"},"image":{"@id":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg","datePublished":"2014-01-27T20:20:34+00:00","dateModified":"2015-03-23T14:09:22+00:00","author":{"@id":"https:\/\/ludismedia.com\/#\/schema\/person\/1dd88a2628115ab7d91c313a9ba7ad7d"},"description":"A Google Tag Manager guide for setting up E-Commerce conversion tracking. A must read if you are looking to develop E-Commerce conversion tracking.","inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/ludismedia.com\/en\/guide-to-e-commerce-conversion-tracking-using-google-tag-manager\/#primaryimage","url":"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg","contentUrl":"https:\/\/ludismedia.com\/wp-content\/uploads\/2014\/01\/banner-google-tag-manager-conversion-tracking.jpg","width":600,"height":222,"caption":"banner-google-tag-manager-conversion-tracking"},{"@type":"WebSite","@id":"https:\/\/ludismedia.com\/#website","url":"https:\/\/ludismedia.com\/","name":"Ludis Media","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ludismedia.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Person","@id":"https:\/\/ludismedia.com\/#\/schema\/person\/1dd88a2628115ab7d91c313a9ba7ad7d","name":"Pier-Yves C Valade","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/ludismedia.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0db2074af6e9d8529e075e2d10136d61?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0db2074af6e9d8529e075e2d10136d61?s=96&d=mm&r=g","caption":"Pier-Yves C Valade"},"description":"I'm currently an SEO, PPC and Analytics specialist here at Ludis Media! Always looking for new challenges, I am a leader who\u2019s not afraid of anything! I am in constant improvement in all facets of my life and aims at every moment to excel. I am an excellent communicator and also have an open mind. On a more personal side, I am fond of scotch, cars, bikes and great food! I love Hans!","sameAs":["http:\/\/ludismedia.com","http:\/\/www.facebook.com\/pieryvescv","http:\/\/www.linkedin.com\/in\/pieryvescv","https:\/\/x.com\/pycvalade","http:\/\/www.youtube.com\/user\/serial890"]}]}},"_links":{"self":[{"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/posts\/6654"}],"collection":[{"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/comments?post=6654"}],"version-history":[{"count":8,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/posts\/6654\/revisions"}],"predecessor-version":[{"id":13622,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/posts\/6654\/revisions\/13622"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/media\/6686"}],"wp:attachment":[{"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/media?parent=6654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/categories?post=6654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ludismedia.com\/en\/wp-json\/wp\/v2\/tags?post=6654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}