• Hi, I am having some issues with enhanced ecommerce tags not firing. I used the guide on your website following the steps for ‘product per impressions, greater than zero’. Analytics works, but nothing is tracked for ecommerce.

    My site is any help or pointers will be appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I checked your site and I do not see any trace of the enhanced ecommerce option turned on. Could you double check plugin settings?

    Thread Starter overturn

    (@overturn)

    Apologies, I’ve now turned the enhanced e-commerce option in the gtm4wp plugin. It the tags still do not fire.

    Thanks

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Currently none of your product can be added to the cart, all sizes are out of stock.
    But looking at the source code of your site I am still not sure whether enhanced ecommerce has been enabled in plugin options.

    If this is turned on, gtm4wp-woocommerce-enhanced.js should load on your site.

    Thread Starter overturn

    (@overturn)

    That is very odd, I have just checked and the WooCommerce integration options have been unchecked again. I am going to run a few tests and I will follow up.

    • This reply was modified 5 years, 7 months ago by overturn.
    Thread Starter overturn

    (@overturn)

    I have ensured the plugin enhanced option tags are checked and sticking, there is now stock you can add into your basket, but still the enhanced e-commerce tags are not firing

    Plugin Author Thomas Geiger

    (@duracelltomi)

    I checked your site again and I can now see the add to cart event firing correctly:

    {
    	event: "gtm4wp.addProductToCartEEC",
    	ecommerce: {
    		currencyCode: "GBP",
    		add: {
    			products: [
    				{
    					name: "3D Moon Lamp The Most Unique Lamp",
    					id: "MLAMP20",
    					price: 24.99,
    					category: "Moon Lamp",
    					stocklevel: "0",
    					brand: undefined,
    					variant: "20CM",
    					quantity: "1"
    				}
    			]
    		}
    	}
    }

    Also I can see that a GA event hit is triggered on this GTM event. It includes proper enhanced ecommerce parameters:

    pa: "add",
    pr1nm: "3D Moon Lamp The Most Unique Lamp",
    pr1id: "MLAMP20",
    pr1pr: "24.99",
    pr1ca: "Moon Lamp",
    pr1va: "20CM",
    pr1qt: "1",

    Entering the checkout shows me the checkout action and data in your GA pageview hit.
    Since I need to use by bank card to proceed to the order received page, I can not check this page for you but since every action is working correctly before that step, I assume this should work as well.

    What you might also want to check is whether the auto return option in PayPal is turned on? By default, users are not forced to get back to your site after a successful payment which means that no transactions will be tracked towards GA.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Enhanced Ecommerce Tags Not Firing’ is closed to new replies.