Analytics
5.3K members online now
5.3K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

How to track each "Click Here" text link on the page in GA? Please help

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

We have three different section on the site like /salons /spa and /health-wellness. Here is the link http://www.bloor-yorkville.com/beautylicious/salons.html

 

Each service page contains more than 10 business addresses and they have 'Click here" link with expanded java script information. We want to track each business address link on our site (not the outgoing link) that how many users has click on that link on which address. 

 

Is there any way possible to track all these "click here" text link in GA?

OR is there any other way to track as a Goal or conversion?

 

Anybody above with the quick answer? 

1 Expert replyverified_user

Re: How to track each "Click Here" text link on the page in GA? Please help

Top Contributor
# 2
Top Contributor
Hi,

You could code each link to fire an Analytics event when it is clicked. https://developers.google.com/analytics/devguides/collection/analyticsjs/events

Personally, I would implement Google Tag Manager and set up a click listener and dynamically capture the link text (or URL) as part of the event to distinguish between them. https://support.google.com/tagmanager/answer/6106716

You can then convert those events into Goals via Google Analytics - one per address I believe. I think no matter which path you take, there will be some work ahead and setup time needed.

-Tommy
Tommy Sands, AdWords Top Contributor | Community Profile | Twitter | Philly Marketing Labs
Did you find any helpful responses or answers to your query? If yes, please mark it as the ‘Best Answer.’

Re: How to track each "Click Here" text link on the page in GA? Please help

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi PPCBossman

Thanks for the speedy response. Its quite helpful. Please note, each "click here" link doesn't go to any page or URL, it's just expanded java script like 'show and hide details' functionality. Still GTM's click on link set up will work for them? Please let me know.

Re: How to track each "Click Here" text link on the page in GA? Please help

Explorer ✭ ✭ ✭
# 4
Explorer ✭ ✭ ✭
Hi BG,

GTM built-in trigger for Click-All Elements should be able to track the clicks on the given link.

Follow us @MarketLytics

kind regards
Noman Karim

Re: How to track each "Click Here" text link on the page in GA? Please help

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Thanks for the reply Noman. I've created custom event in GTM, added triggers to Click - All Elements and I got following code. Will I have to add this code to each service page where all links are there? Like http://bloor-yorkville.com/beautylicious/salons.html Please note, GA code already added to those pages, still okay to add GTM code on it?

<!-- Google Tag Manager -->
<noscript&gt;<iframe src="//www.googletagmanager.com/ns.html?id=GTM-TQVX4V"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TQVX4V');&lt;/script&gt;
<!-- End Google Tag Manager -->

Re: How to track each "Click Here" text link on the page in GA? Please help

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
In GA, where can I see those traffic as a goal or conversions?