Analytics on Form Label Clicks

Hi all. I am in the process of updating my website to provide better analytics via Google Analytics. One of the first step is to ensure that everything can take advantage of enhanced link attribution. An issue I’m having is that the main page is set up as a form rather than a set of links. (Please see the site for reference.) Users click on labels for appropriate products and then hit submit to go to the second page. What attributes do I need to add to the labels and the submit button so that I can accurately track the percentage of the time particular labels and buttons users are clicking?

Thanks!

Your form is actually set up as a GET HTTP request… so in theory it would be quite easy to convert each into a real link. Any link is really just a GET request.

I’m not sure what you mean. I can track user flow from the main page to any of the following pages. But I can’t, for example, run an analysis of the main page to see the frequency that each product is selected individually.

It would be easy to set up a way to see how often a page was requested.
And though not so reliable, the referring page could be determined.

But if a page has the same link to another page in different areas eg. drop-down, side nav, text content, there needs to be a way to identify them

GET vars could be used, but they wouldn’t look so nice in the address bar and if they were bookmarked it could throw off the stats.

Since you have all links as form elements, it would probably be best to give each a hidden input and use POST instead.

I think I’m not being clear. The form allows the user to select up to 5 products. There are tens—probably hundreds—of thousands of combinations of products, and there are just as many dynamic pages. What I want to know, however, was how many times was product A included? Product B? I can do this with MySQL queries but would like to know if there’s a way to do it with google analytics

Sorry, I missed that.

Google “campaigns” use URL parameters

With that many I’d look into using a URL Builder Tool if you decide to go about it this way.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.