• We’ve been trying to find the source of super slow checkout times. It take about 20 seconds to go from the checkout page to the ‘pay for order’ page. Then it takes about 45-60 seconds to go from the payment page to the order confirmation page.

    It turns out that if I uncheck the ‘Customer data in data layer’ checkbox in the Woocommerce enhanced ecommerce setting tab of the plugin settings, it fixes the problem and it’s super speedy. I tested this with only my payment gateway and woocommerce enabled using the storefront theme. Do I need this box checked? Does anyone else have this issue?

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

    (@duracelltomi)

    Hi,

    Do I need this box checked?

    It depends on what are your measurement needs. Just to collect ecommerce data into Analytics tools, you do not need this. There can be cases when you need some customer data, like hashed email address in order to improve tracking quality in specific tags.

    Thread Starter infocompassclass

    (@infocompassclass)

    Okay, thanks for the info. Is the slowness of checkout expected after enabling this setting? That seems to be problematic to cause such big performance issues when getting this data from woocommerce.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    If there is a performance issue, that could be in WooCommerce.
    If you turn on customer data in the data layer, all that GTM4WP does is to query the customer data with a single call and the query the customer attributes from the retrived object.

    If for example WooCommerce actually queries the database when querying each customer attribute, that could slow down the process.

    What GTM4WP could to is to introduce some dozen more checkboxes to select which customer attribute to query.

    Thread Starter infocompassclass

    (@infocompassclass)

    Okay, that makes sense. Querying the database for a large store can get slow, so probably just an issue with the way WooCommerce stores this customer data.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Slow Checkout with ‘Customer Data in Data Layer’ Checkbox Checked’ is closed to new replies.