Title: Button Counter
Last modified: August 30, 2016

---

# Button Counter

 *  [iamchingel](https://wordpress.org/support/users/iamchingel/)
 * (@iamchingel)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/)
 * I am completely new to web-designing. This is my site [http://www.wewereonabreakkk.com](http://www.wewereonabreakkk.com)
 * the site asks one question on the home page. it has 2 button answers.i want a
   code or a plugin that will help me count the number of users who clicked button
   1 or button 2 and also display a percentage of the result.
 * and only one click is allowed per IP address.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/#post-6781859)
 * did you try a google search? try using ‘wordpress button press counter plugin’
   and test some of the plugins out.
 *  [Local Fame](https://wordpress.org/support/users/localfame/)
 * (@localfame)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/#post-6781861)
 * The simplest decision is probably through Google Analytics onlick events
 *  Thread Starter [iamchingel](https://wordpress.org/support/users/iamchingel/)
 * (@iamchingel)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/#post-6781947)
 * Local fame…could please explain a bit…I’m completely new to web designing
 *  [Local Fame](https://wordpress.org/support/users/localfame/)
 * (@localfame)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/#post-6781950)
 * if you have a google analytics tracking code with ga.js (newer version of the
   tracking code), then on one button you put an attribute onclick=”ga(‘send’, ‘
   event’, ‘button’, ‘one’)”
    and on the other button – onclick=”ga(‘send’, ‘event’,‘
   button’, ‘two’)”
 * You can rename “button” and “one” and “two” as want.
 * Then you just see the responses through your google analytics account in Behavior
   > Events

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Button Counter’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Local Fame](https://wordpress.org/support/users/localfame/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/button-counter-1/#post-6781950)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
