Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to add google analytics code for onclick functions in drupal 6?

user-image
Question added by Rameez Bin Abdul Majeed , Digital Marketing Manager , Muscat Higher Education Centre
Date Posted: 2016/12/28
Winona James
by Winona James , Marketing Manager , ABC Media Marketing Partners

What you're looking for is the GA Event Tracking module. It allows your custom module to select web page elements (via CSS selectors), bind them to jQuery events (e.g. clicks, mouseover, etc.), and send them out to the GA Event Tracking API.

More Questions Like This