Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Ecommerce Tracking w Google Tag Manager

Ecommerce Implementation for Tag Manager not working

2:48 pm on Dec 12, 2013 (gmt 0)

New User

joined:Jan 27, 2012
posts: 9
votes: 0

We can't get ecommerce tracking to work using tag manager.

1. The onpage code we're using follows what Google advises here: [support.google.com...]

dataLayer = [{
'transactionId': '692134',
'transactionAffiliation': 'ZZZZZZ',
'transactionTotal': 73.37,
'transactionTax': 6.37,
'transactionShipping': 12.0,
'transactionProducts': [
'sku': '17623',
'name': 'ZZZZZZ',
'category': 'ZZZZZZ',
'price': 55.0,

'quantity': 1

<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXX"
height="0" width="0" style="display:none;

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
<!-- End Google Tag Manager -->

2. We created a Transaction tag with the following info

Name: Client Name
Type: Google Analytics
ID: Correct ID is associated
Track Type: Transaction
Firing Rules: Conversion Page

3. We associated a Firing Rule

Rule Name: Conversion Page
If URL Contains Thank

(Yes, all confirmation URLs contain "thank".)

4. We published the version.

I'd appreciate any advice or feedback! If we can't get this to work using Google's guidelines we're considering scrapping this entirely and using these suggestions instead where you create an event TrackTrans and associate the rule with the event...

[edited by: mademetop at 4:25 am (utc) on Dec 13, 2013]
[edit reason] No links please per TOCs [/edit]