Google Analytics tracking Multiple buttons per user

I run a comparison site that shows a variable number of "contact me" buttons (up to 5 ) on a results page. I am currently running goal tracking which shows a conversion at the time the user completes the initial form which calls up the results page . However I need to record the next goal level which is when the user clicks on one or more of the "contact me" buttons.
I want to track the click only once. Say, if, for instance, the user clicked on five options I only want them recorded once in order to track keyword effectiveness to this level. The site is written in PHP/MySql. My site developer is not experienced in analytics tracking so I want to know how to get started from here.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle HamiltonData ScientistCommented:
If you don't care which button was pressed then why not track the contact me page plus referer?
StratafiedAuthor Commented:
Thanks for your response Kyle.

You suggested we track the contact me page plus referrer. Sorry if this sounds totally ignorant  but perhaps I am misunderstanding you or I have not communicated our situation correctly.  

The flow is that the user arrives at a contact me page after completing a short form. I do track that path currently. At that point the user can choose to click one of the five contact me buttons or none at all. Clicking on any button does not lead on to any other page, all it does in the web site is change the image and text on the clicked button.
Sorry if that sounded repetitious but I am not sure that I initially correctly conveyed the working of what you called the contact page.

Ok, so if you haven't misunderstood me and I just haven't grasped what you meant, could you please explain further how we track the contact page plus referrer to get the information we need.
Kyle HamiltonData ScientistCommented:
oh, I see. I misunderstood. It's just unusual that a user would click on a button, and nothing happens, but of course I know nothing of your application :)

so, you need to track if the user clicked on any of the buttons, regardless of which one, or do you want to know which button they pressed?

Also, a user could click on one or more buttons multiple times and you only want to track that activity once off?
Get Certified for a Job in Cybersecurity

Want an exciting career in an emerging field? Earn your MS in Cybersecurity and get certified in ethical hacking or computer forensic investigation. WGU’s MSCSIA degree program was designed to meet the most recent U.S. Department of Homeland Security (DHS) and NSA guidelines.  

StratafiedAuthor Commented:
Lots happens when someone clicks on the button. We send emails, update the database but don't move to a new page in case further buttons are clicked.

So all we want to do is to record the first contact button being clicked and then to ignore any subsequent ones. It makes it then possible for us to track the keyword, ad, and other dimensions which would get us one step closer to the end of the funnel which is off-line.
Ray PaseurCommented:
It would help if we could see the web pages in action because we might be able to be more specific, but even without that, I can tell you the theory.
A "click" on a button triggers a DOM event.  All buttons on the page can be assigned an event handler.  The DOM is self-aware, knowing initially that no button has been fired, and the DOM can know which button was clicked when the first click occurs.  A related action can be fired that can transmit this information to the server via an XHR request (your site is probably already doing some of this).  Then this event handler can be removed from all the buttons, ensuring that only the first click is recorded.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
StratafiedAuthor Commented:
Thanks for the help Ray. Our developer is taking your comments as his starting point.
Ray PaseurCommented:
Thanks for the points and best of luck with it! ~Ray
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.