Leave a comment
Get the GH Bookmarklet

Ask GH

I'm starting to get overwhelmed with the amount of buttons to track. 

I am using mixpanel, and google analytics to track events. But being able to standardize the naming of buttons would not only be great to have for myself but would do wonders for my team

  • JA

    Justin Adelson

    about 3 years ago #

    I suppose the first question to ask is how many buttons do you actually have? The second question is why do you need to track every single button? Can you use one general button name and then track the event location?

    Normally, for tracking purposes like this, I adopt a parent and child naming convention. For example, if I have three buttons on my homepage and want to track which button gets the most clicks, I would use the following: homepage_waffles, homepage_pizza, homepage_bourbon. You could use the same naming convention for app actions or eCommerce stores.

    I hope that helps!

  • JB

    Justin Butlion

    about 3 years ago #

    I recommend using the following approach:

    *1 event for tracking when users / visitors click on CTAs, use "CTA Clicked" or "Element Clicked".
    *User a number of properties to help you identify the specific buttons / CTAs. Examples include type, location, color, etc.
    *Make sure to also pass the url and path of the page where the button is located. This will help you with identifying which CTAs were clicked.
    *In some cases you shouldn't be using button clicks to track your funnel, a better approach would be to use page view events. This is only helpful if the funnels are locked, meaning the only way to get to page B is via page A.

    Feel free to email me at justin@projectbi.net if you have any questions.