AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
3.1K members online now
3.1K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Help Needed to track Clicks on GA!

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi Guys!! 

 

Appreciate if anyone can help me.

 

I have managed to insert GA onto my website and they are tracking my data correctly. However, i am trying to track my events for a click but i can't seem to do it! Would be appreciated if someone can help me on this!

 

This is my current HTML:-

<section class="mbr-info mbr-section mbr-section-md-padding" id="msg-box2-2n" style="background-color: rgb(40, 50, 78); padding-top: 30px; padding-bottom: 30px;">


<div class="container">
<div class="row">

 

<div class="mbr-table-md-up">
<div class="mbr-table-cell mbr-right-padding-md-up col-md-8 text-xs-center text-md-left">
<h3 class="mbr-info-title mbr-section-title display-2">Be confident that Yeobuild HomeRepair can protect your home today.</h3>
<h2 class="mbr-info-subtitle mbr-section-subtitle">Call us now. We can provide same-day service if you call us early.</h2>
</div>
<div class="mbr-table-cell col-md-4">
<div class="text-xs-center"><a class="btn btn-warning" href="tel:+6567466177">Call us: +65 6746 6177</a></div>
</div>
</div>

</div>
</div>
</section>

 

My New HTML:-

<section class="mbr-info mbr-section mbr-section-md-padding" id="msg-box2-2n" style="background-color: rgb(40, 50, 78); padding-top: 30px; padding-bottom: 30px;">


<div class="container">
<div class="row">

 

<div class="mbr-table-md-up">
<div class="mbr-table-cell mbr-right-padding-md-up col-md-8 text-xs-center text-md-left">
<h3 class="mbr-info-title mbr-section-title display-2">Be confident that Yeobuild HomeRepair can protect your home today.</h3>
<h2 class="mbr-info-subtitle mbr-section-subtitle">Call us now. We can provide same-day service if you call us early.</h2>
</div>
<div class="mbr-table-cell col-md-4">
<div class="text-xs-center"><a class="btn btn-warning" href="tel:+6567466177" onclick="ga('send', 'event', 'Phone Call Tracking', 'Click/Touch')">Call us: +65 6746 6177</a></div>
</div>
</div>

</div>
</div>
</section>

 

Can I check if this is correct?

 

 

 

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Yeobuild P
March 2017

Help Needed to track Clicks on GA!

Top Contributor
# 2
Top Contributor

Hi,

 

Yes, your code is correct. You can check using the Google Tag Assistant and/or GA debugger Chrome extensions that the event is being sent to GA. You can also see the event hits in the realtime report in GA. Let me know if you have more questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Yeobuild P
March 2017

Help Needed to track Clicks on GA!

Top Contributor
# 2
Top Contributor

Hi,

 

Yes, your code is correct. You can check using the Google Tag Assistant and/or GA debugger Chrome extensions that the event is being sent to GA. You can also see the event hits in the realtime report in GA. Let me know if you have more questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital