WordPress.org

Support

Support » How-To and Troubleshooting » Adding Google Analytics event tracking with custom fields

Adding Google Analytics event tracking with custom fields

  • I have a page on my website that is built dynamically with custom fields. I would like to be able to put in event tracking code from Google Analytics

    onclick="_gaq.push(['_trackEvent', 'Button Clicks', 'RSW Library', 'Name of Page']);"

    But I am not familiar enough with PHP to add this to the PHP.

    Does someone know how I could add this tracking to be able to recognize the link that is being clicked?

    The page is am referring to is at: http://www.rswcreative.com/our-work

  • The topic ‘Adding Google Analytics event tracking with custom fields’ is closed to new replies.
Skip to toolbar