• Hello,

    I am using Google Analytics Dashboard for WP (GADWP) Plugin. So I installed WP Google Analytics Events, too. I want to track the add to cart button and place order button.

    Add to cart btn:

    <button type=”submit” name=”add-to-cart” value=”26″ class=”single_add_to_cart_button button alt”>In den Warenkorb</button>

    I added in “Click Tracking” section.
    Element Name: add-to-cart
    Typ: class
    Event Category: Add to cart
    Event Action: OnClick
    Event Label: In den Warenkorb
    Event Value: 26

    But it doesnt works.

    and how can I track this to buttons/links

    Next >>

    Jetzt Kaufen

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

    (@yuvalo)

    Hi @web88,

    I think our phrasing of “element name” is confusing in this case, sorry about that.

    Use the class single_add_to_cart_button instead.
    It should do the work.

    Let me know if it works.

    Yuval

    Thread Starter web88

    (@web88)

    Thank you. I will try it. And how can I track this button/link ?

    < a href=”#next” role=”menuitem”>WEITER

    Plugin Author yuvalo

    (@yuvalo)

    Hi @web88

    You can use an “advanced” type click event, tracking the destination URL – in this case #next:

    Try using the element name:
    a[href=”#next”]
    With the type set to advanced.

    Yuval

    Have the same issue with my https://gamblands.com/.
    Should I apply the same thing?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Analytics Event Tracking dont works for me’ is closed to new replies.