Title: Using analytics to track WIDGET button clicks
Last modified: August 21, 2016

---

# Using analytics to track WIDGET button clicks

 *  [the818studios](https://wordpress.org/support/users/the818studios/)
 * (@the818studios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-analytics-to-track-widget-button-clicks/)
 * Hi guys,
 * I’m trying to add google analytics code to track how many times a widget button
   in my sidebar is clicked. I’ve searched everywhere for the code and can’t seem
   to find it.
 * Please note, I’m not asking how to add html to the sidebar, I’m asking how to
   add html code to an existing widget button I created.
 * My site: [http://www.TheBrainStimulator.net](https://wordpress.org/support/topic/using-analytics-to-track-widget-button-clicks/www.TheBrainStimulator.net?output_format=md)
   
   Trying to add the code to the “I WANT ONE” button.
 * Thanks you so much!!

Viewing 1 replies (of 1 total)

 *  [Reem2014](https://wordpress.org/support/users/reem2014/)
 * (@reem2014)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/using-analytics-to-track-widget-button-clicks/#post-4635197)
 * Would be helpful for me as well!

Viewing 1 replies (of 1 total)

The topic ‘Using analytics to track WIDGET button clicks’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/vantage/1.20.33/screenshot.jpg)
 * Vantage
 * [Support Threads](https://wordpress.org/support/theme/vantage/)
 * [Active Topics](https://wordpress.org/support/theme/vantage/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/vantage/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/vantage/reviews/)

## Tags

 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 2 participants
 * Last reply from: [Reem2014](https://wordpress.org/support/users/reem2014/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/using-analytics-to-track-widget-button-clicks/#post-4635197)
 * Status: not resolved