Support » Plugin: GTM4WP » EE GA Step 3 – Force shipping to the customer billing address

  • Resolved josem3748


    Hi, thanks for such a great plugin.

    I’m having a problem with enhanced eCommerce tracking.

    I’m using storefront without any rare plugin or customization. I also have the cart first step option activated.

    I need to use this setting on my store:

    Shipping Settings: “Force shipping to the customer billing address”

    This hide the second part of the checkout form (shipping address details).

    And because of that, the customer can’t reach any of the shipping input boxes that fires the step 3 (gtm4wp.checkoutStepEEC) checkout event.

    Is there any way to don’t miss the step 3 of my checkout behavior funnel?

    Thank you in advance. Awesome plugin.

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

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



    Thanks for your post!
    I just added a fix to the plugin core that will resolve your issue:

    With that, GTM4WP will report step 2 and 3 instead of 3 and 4 if ‘Force shipping to the customer billing address’ option is step.

    New plugin release is scheduled on tomorrow (03.19)

    Thread Starter josem3748


    Hey man, thank you very much for your reply and for your consideration.

    One more question: Could be these the reason why steps 4 and 5 aren’t showing in the Google Analytics Checkout Behavior Report ass well?

    I have noticed that the “Event ā€“ Ecommerce Events” tag is firing properly with the event gtm4wp.checkoutOptionEEC and showing the steps 4 and 5 in the dataLayer just a moment before submitting the form and redirecting to the Payment Provider Page.

    But in the Google Analytics Checkout Behavior Report I have none of them (0 on each one). And I have Sessions with Transactions, so I can’t understand what I’m doing wrong. I follow each steps of this article:

    Finally I have a few more comments that hope that help with the plugin as well:

    1) Storefront has a new feature that is sticky add to cart button on the product page. That sticky button wasn’t firing the gtm4wp.addProductToCartEEC event so I just add the class with javascript like this:

    var div1 = document.querySelectorAll(‘a.storefront-sticky-add-to-cart__content-button.button.alt’);
    for (var i = 0; i < div1.length; i++) {

    It solved the problem.

    2) Woocommerce has a standard widget that can be added to the side column called Recent View Products. I included the widget-product-item class to this widget to measure impressions and clicks thorught your plugin and it worked. I use this code to add the class:

    var div2 = document.querySelectorAll(‘.product_list_widget a’);
    for (var i = 0; i < div2.length; i++) {

    Hope it helps!

    Plugin Author Thomas Geiger



    Let’s have a look at your reports after I released the new plugin version to see whether this solves your checkout behavior report issues.

    For your other two suggestions: they are great, I hope that others finding this topic can use of this customization a lot!

    Thread Starter josem3748


    Hi Thomas, thank you for reply.

    Today I updated to the new version of the plugin and I did some tests:

    Firstly, the change you did works. Now Shipping Option is step 3 and Payment Option is step 4 (Cart is step 1) in the dataLayer.

    But I still couldn’t see step 3 and 4 in the GA checkout behavior report. So I did several tests. The last one was like this:

    -Disabling all cache including Cloudflare. Tests in incognito tab as well.
    -All plugins deactivated except GTM4WP(1.11.4) and Woocommerce(4.0.0).
    -Storefront child theme deactivated. Storefront theme activated(2.5.5).
    -Payment Method: Cash on Delivery – Standard from Woocommerce.
    -Shipping Method: Local pickup – Standard from Woocommerce.

    With all the tests, including the last one, I don’t have any step 3 or 4 (0 on each one) in my Checkout Behavior Analysis.

    So I think it’s important to check. Could you take a look please? I will leave to you the last configuration so you can check with the same parameters I did.

    Plugin Author Thomas Geiger



    I’ve just released a new plugin version (v1.11.4) – this includes the fixes I proposed earlier.

    Please update the plugin and re-test your checkout pages.

    Thread Starter josem3748


    Hi Thomas, I know. I did my tests with the new version of the plugin (v1.11.4).

    As I told you in my last comment, now decrease checkout step numbers 3 and 4 if shipping destination is set to ‘Force shipping to the customer billing address’ in WooCommerce.

    But Step 3 and 4 aren’t showing in my Checkout Behavior Analysis. The tag is firing, but those 2 steps aren’t working in analytics.

    I did my test with all standard features and the new version of the plugin (v1.11.4).

    Please check, maybe this problem is affecting everyone.

    Thread Starter josem3748


    Hi again Thomas,

    I keep testing and testing and finally I think I figured out why steps 3 and 4 weren’t working.

    I think you forgot to add this one:


    To the Step 8: setup helper click tracking, on this page:

    I add it and it worked but I don’t know if I’m correct or I shouldn’t did that and something else is broken with the plugin.

    Please let me know If I’m correct to think you forgot it or not.

    Have a good day!

    Plugin Author Thomas Geiger


    Adding the gtm4wp.checkoutStepEEC event into a GTM trigger and firing a GA event tag on that event is need to have data in GA so what you found out should be “the” solution šŸ™‚

    Thread Starter josem3748


    Great, thanks.

    In that case, I would recommend to add that in this page:

    To avoid issues like this in the future.

    Have a great day! Great plugin!

    Hi Thomas,
    The Step 3 option would be great for Digital Products too that don’t have a Shipping Address. I have set force shipping to billing address, but Step 4 is still the checkout and I am also getting a double GTM Event Being fired gtm4wp.checkoutOptionEEC, for the checkout option and step.

    Also on Version 1.11.4

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘EE GA Step 3 – Force shipping to the customer billing address’ is closed to new replies.