Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #520863

    hi,

    How can I add GA onclick event to a “specific button (created from Avia builder)” but not the form submission button?

    thank you :)

    #521164

    Hi decode!

    Create your button and save the page and then view your page on the frontend. You can right click the page and view it’s source code and then copy the button HTML and then paste that into a codeblock element and add the onclick attribute that way.

    Cheers!
    Elliott

    #521332

    thanks Elliott :)

    What if there are several buttons needed to be tracked in the same page?

    #521334

    like these inquire buttons, they need to be tracked separately….could you give me an example?

    thank you :)

    #522011

    Hey!

    Does your code look like this?

    onclick="_gaq.push(['_trackPageview', '/VP/XXX/XXX']);"
    

    I suppose you would need to create an event for each button. See here, https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide?hl=en.

    Best regards,
    Elliott

    #522250

    hi, Elliott

    I am not a tech guy….. really can’t understand.
    Could you give me a real example on how to apply the onclick event on different buttons using the code block when those buttons are all on the same page?

    that would be very very helpful :)

    thank you.

    #522608

    Hi!

    you can find an example on the link Elliott has provided to you. If you need a coder for this job then you can find one here: http://kriesi.at/contact/customization

    Cheers!
    Andy

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