• Resolved Kausi

    (@kausi)


    Hi!

    I have a question regarding setting up WooCommerce transaction tracking using this plugin. I have Google Tag Manager installed and Woocommerce integration enabled. I do not see the transaction details(productID,cost etc) for a transaction in GA.

    Do I need to add the code to the datalayer in the /checkout/order-received page or will the plugin take care of this? I have the transaction tag and rule set up in GTM.

    Thanks in advance!!

    https://wordpress.org/plugins/duracelltomi-google-tag-manager/

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

    (@duracelltomi)

    Hi Kausi,

    You need to setup a new tag in GTM.
    Select Universal Analytics or Classic Analytics from Tag Type dropdown depending on which GA version you are using.

    Select “Transaction” from the Track Type dropdown.

    Create a new firing rule:
    {{event}} equals ‘gtm4wp.orderCompleted’

    Everything else is being done by the plugin.

    Hope this helps,
    Thomas

    Thread Starter Kausi

    (@kausi)

    Hey Thomas! Thanks for the reply! I have set all this up(Universal Analytics) and it was my assumption that the plugin would do the rest as you confirmed.

    We use the PayPal gateway. We did a test transaction, and though the goal in GA reflected it, the revenue and other details were not seen. Is there something that I could be missing? How can I test the flow and the datalayer variables at the end of the transaction?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    It takes around 2-3 hours until the transaction data is being displayed in GA.

    Thread Starter Kausi

    (@kausi)

    OK. I will try it again and let you know. Thank you so much!

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Kausi,

    Are you getting GA transactions now?

    Thomas

    Thread Starter Kausi

    (@kausi)

    Thomas,

    I am yet to check it. Caught up with some other work. I will let you know at the earliest. Thanks for checking!

    Thread Starter Kausi

    (@kausi)

    Thomas,

    I made a test transaction and I don’t see the transaction details yet in GA. I believe I have done the set up as recommended. Is there a way to debug this?

    -Kausi

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I need to check your site.
    Can you post the URL?

    If you do not want to post to a public forum you can contact me using the form on duracelltomi.com

    Cheers,
    Thomas

    Thread Starter Kausi

    (@kausi)

    I have sent you the details through the form.

    Thanks!

    Plugin Author Thomas Geiger

    (@duracelltomi)

    For the record: wp_head() call was missing from the template and there was a redirection issue using PayPal payment.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Trouble with Woocommerce tracking’ is closed to new replies.