Analytics
927 members online now
927 members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

recording click and exit

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a feature on my site that allows a person to enter their address, then they click on "Get Directions" to get directions from their address to a certain meeting. There are several of these. How do I record the number of people using this feature? Is there any way to record which specific "Get Directions" button is being used? The site is carteretcountyaa.org.

1 Expert replyverified_user

Re: recording click and exit

Top Contributor
# 2
Top Contributor

 Hi,

 

You can set up event tracking for your buttons. Please read about event tracking below:

https://developers.google.com/analytics/devguides/collection/analyticsjs/events

 

 <button type="button" onclick="ga('send', 'event', 'Button', 'click', 'Meeting Name');">Get directions</button> 

You'll find the recorded events in GA under Behavior -> Events.

 

Let me know if you have questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: recording click and exit

Follower ✭ ✭ ✭
# 3
Follower ✭ ✭ ✭
This is the Data Studio Forum.

Please post in the GA implmnetation forum:
https://www.en.advertisercommunity.com/t5/Code-Implementation/bd-p/Code_Implementation

Thanks

Phil.