• Hi,

    First of all – great and amazing plugin! πŸ™‚

    I am only looking for a way to modify or disable some dataLayer element because some data is not correct (for my specific case, not whole implementation).

    This is the story to better understand:

    1. User has added some product to cart (all fine her)
    2. User goes to cart page. This should be first step in GA Checkout Steps Analysis (there is no checkout_option actionField, but this should be Step 1).
    3. User proceeds. This is mapped as Step 1 in your plugin, but it should be Step 2 and so on

    This is the same question, but maybe asked in different ways:
    – what is preferred way to fix this?
    – can I select based on some fields some other step to be first one?
    – should I enter steps manually somehow?
    – can I block only this field in your tool if I cannot work around it?

    I have located integrations > woocommerce.php in your plugin. Maybe change this to something else?

    gtm4wp_woocommerce_addjs(”
    $( ‘form[name=checkout]’ ).on( ‘submit’, function() {

    Thanks in advance πŸ™‚

    Best!

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

    (@duracelltomi)

    Hi zeninho,

    It is always a point to argue whether the cart is part of the checkout funnel or not. In most cases the cart is not part of that and therefore in my plugin the cart is not tracked with the corresponding enhanced ecommerce codes.

    Currently you can only solve this if you alter the plugin in the /integration/woocommerce.php file.
    What I could do for you is to add a feature request to my list so that you can have a checkbox where you can control whether to include the cart in the checkout funnel or not.

    Have a great day,
    Thomas Geiger

    Thread Starter zeninho

    (@zeninho)

    Hi Thomas,

    Thanks for your reply. Nothing wrong with your plugin, this is specific to my checkout process like I said. I have quick checkout form where everything is on one page and therefore I don’t have benefit of this feature (first next step is already thank you page).

    Please add to your feature request, thanks in advance πŸ™‚

    Unrelated to this topic, I have another question regarding PayPal transactions measurement. Is there a way that plugin understands custom pages that are not created for woocommerce. PayPal has option to redirect to some page after completion, what would be best approach to handle this and start tracking?

    Have a nice day also πŸ™‚
    Zeninho

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Zeninho,

    There is currently no such option and actually this is not a dependency of my plugin but WooCommerce’s.

    Any page can be an “order received” page where WooCommerce is able to detect this status. My plugin “asks” WooCommerce during page load what kind of page the user is currently seeing. If WooCommerce responses to the question “is order received page?” with yes, my plugin will add everything about the order into the dataLayer to track the transaction anywhere with GTM tags.
    Any 3rd party plugin that can tell WooCommerce the answer to that question will be compatible with my plugin as well.

    Thomas

    Thread Starter zeninho

    (@zeninho)

    Hi Thomas,

    Any 3rd party plugin that can tell WooCommerce the answer to that question will be compatible with my plugin as well.

    Can you recommend some plugins you worked with PayPal integration?

    Thanks in advance!

    Best,
    Marin

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

The topic ‘Exclude some dataLayer’ is closed to new replies.