Support » Plugin: Enhanced Ecommerce Google Analytics Plugin for WooCommerce » How to track link click with onclick?

  • Resolved diegpl

    (@diegpl)


    Hi, congrats for the plugin, it is really good! 🙂

    Is there a way to track link click using onclick at the link? Thank you! 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • diegpl

    (@diegpl)

    I have tried to use “Google Analytics Dashboard for WP by ExactMetrics (formerly GADWP)” plugin with “Enhanced Ecommerce Google Analytics Plugin for WooCommerce”, however, it got just the “add to cart” link. Now I`m trying to use the codes below on “a” tag:
    onclick=”_gaq.push([‘_trackEvent’,‘contato’,‘click’,‘whatsppp’,‘3’]);”
    onclick=”ga(‘send’,’event’,’contact’,’click’,’3′);”

    But none of them working. Am I doing something wrong or do you suggest me another plugin in order to get that working? Thank you!

    diegpl

    (@diegpl)

    I see you said how to activate it with GADWP in this thread https://wordpress.org/support/topic/double-tracking/
    However, e-commerce data did not showed up with both plugins on just as you said. But the “e-commerce tracking” at GAWP integration settings was turned on for “enhanced e-commerce plugin” option. Checked it as disabled now. Lets see whats happens.

    If someone has anymore idea about how to track outbound link clicks with this plugin on, please, let me know. Tks! 😉

    diegpl

    (@diegpl)

    It did not work, even with “e-commerce plugin” option set at “e-commerce tracking” GADWP settings.

    Plugin Author Tatvic

    (@tatvic)

    Hey @diegpl Can you please share store url on which you are facing the issue.
    I will have a look and suggest you accordingly.

    Plugin Author Tatvic

    (@tatvic)

    Hey @diegpl

    Hope you have received solution for this and hence, closing the ticket for the same.

    Let me know if you are yet to get solution for this

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.