How to track click on phone number on mobile device in GA as a goal?
-
Hi,
I work with a lot of physicians and one of the things I'd like to do is add a goal in GA so we can try to track how many visitors are clicking the phone # to call the office from smartphones.
-
Would doing this be as straight-forward as adding a the standard javascript click text that I'd add for an external link?
-
And Is there a way to make a goal only "count" if the user-agent is a smartphone? Because if I attach the JS to the phone #, it's going to be in all of the HTML regardless of which device is used. Unless of course, I mess with the CSS to only make the javascript code appear on certain stylesheets.
Thank you!
-
-
Hopefully too not many people will click that link on the desktop version... But there's always some silly user who is the exception.
Good Luck!
-
Yeah you know that's a good question. This is a responsive site I'm gathering (good on ya!) so I see the dilemma.
But yes I believe in the Advanced Segment you can parse events triggered via mobile devices.
Also you should be able to build a custom report which should allow you to filter by OS which would even allow you to break down the data by iOS, Android, Windows Phone, etc.
-
Thanks you that's perfect.
And then I guess I'd just filter out smartphone-only for accurate data?
-
-
Well I have the phone number on the responsive site (for example) as HTML text like this
123-456-7890
Can I track this as an event as you suggest?
I see this code below from the link, but it looks like I need to have the phone # as a link....
Other than the ability to add GA code, is this:
123-456-7890
the same as this ### 1-847-555-5555
Thank you !
-
Agree with Jesse, using GA Event Tracking will help you track clicks on the mobile button. Within GA, you can slice and dice the information a few ways to see mobile users exclusively.
One option is to use the "Advanced Segments" feature to view "Mobile Traffic" and then drill down via the Content > Events > Top Events report.
-
Well I'm assuming you have a "Click to Call" button setup meaning you have a separate mobile site?
If so, I would simply add a Google analytics event to said button on your mobile site and label it something like "mobile-call" or whatever. Are you familiar with Event Tracking? If not, go here - https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to track in google analytic which filters selected in which category?
Hi All, Can anyone tell me how to track which filters selected in which category like in category I have 1) price ( then different - different price) 2) color ( then difference - difference colors) same for size, width, brand etc. Is it possible to track in detail via tag manager? Other than tag manager what are the best way to track filters? Please explain me technical guidance too. Thanks!
Reporting & Analytics | | adamjack0 -
Weird URL Structure in GA
Hey everyone, Thanks in advance for any insight on this. I've been researching it quite a bit on Google and haven't found anything yet. In Analytics, under our pages report, we're getting a lot of pages that look like this: www.execucar.com/https://www.execucar.com or www.execucar.com/https://www.execucar.com/locations/orlando-car-service Any thoughts on how to fix this? These pages don't exist...I'm at such a loss.
Reporting & Analytics | | SuperShuttle0 -
Most of the goal conversion in Google analytics showing under referral
Hi All, I have already asked this question twice here but issue is not resolved yet. http://moz.com/community/q/all-goal-conversion-in-google-analytics-showing-under-referral http://moz.com/community/q/some-goal-conversion-in-google-analytics-showing-under-referral In Google analytics most of the goal conversion in Google analytics showing under referral from payment gateway sites (Paypal.com & epdq.co.uk). I have applied all the possible solution that suggested by Moz community experts & Google Adwords support team but it is not resolved yet and it is really weird answer to give client that I have applied all possible solution and issue is still not solved. Lastly I am sharing Cross domain tracking code here that I have used on my site. Please check once and let me know if code is correct and If not correct please help me out to correct the code or suggest any other way to fix the issue Cross domain tracking code ======================= <script type="text/javascript">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Reporting & Analytics | | Alick300
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('require', 'linker');
ga('linker:autoLink', ['paypal.com', 'payments.epdq.co.uk'], false, true);
ga('create', 'UA-xxxxxx', 'auto', { 'allowLinker': true});
ga('require', 'displayfeatures');
ga('send', 'pageview');</script > I have hide the UID in above code. Thanks0 -
Tracking Clicks on a Global Header Across Multiple Sites
Hey All, A particular client has multiple websites and we're planning on implementing a global header across 15+ sites. I've been looking for a way to track the clicks on this global header across all sites (that is that they are summed up), what's the best way to go about this if I am using Google Analytics (I know Adobe site catalyst could do this no problem with some advanced tweaking), any ideas? I could do the general click tracking route and tag every link but that will only help me if I do that for each site (that being said, if the global header for all sites pulls from a single HTML, then tagging it would technically count all the clicks from all the sites, the only caveat being that I'd have to pick which Google analytics profile I'd want to track the header with). Thoughts? Thanks!
Reporting & Analytics | | EvansHunt0 -
301 Redirect tracking
Hi All, I have a 301 redirect tracking issue. I have a domain, say www.123.co.uk and I have that domain 301 redirecting to www.abc.co.uk. Looking in analytics, I do not see any referral traffic sources for the redirect i.e. I do not see www.123.co.uk as a referral (and I know it does sent traffic). My question is - how can I implement a solution that will show referral traffic from www.123.co.uk to www.abc.co.uk as a referal in analytics? Hope that makes sense?
Reporting & Analytics | | Webrevolve0 -
Google Analytics Title tag vs landing page visitors numbers
Hi folks, Just wondering if anyone has any ideas as to why im getting different results in Google analytics. I'm using the Content Efficiency Analysis Report from http://www.kaushik.net which is absolutely awesome. When I search via my title tag I get 920 Unique Visitors over the month but when I search via the landing page URL with the same title tag I get 28. Any ideas to why their should be such a difference. I've also noticed that on that page i'm also getting a Rel Cononical TRUE using a site crawl. Any ideas are much appreciated
Reporting & Analytics | | acs1110 -
Cover my tracks / two websites on the same Analytics
Hi, I've got 2 websites and I like one of them to make some links to the other one. These two sites are on the same Google Analytics account. They have been set up 3 month ago and they have some articles on them. I've heard that Google can see that those websites are related in my Analytics and use this information to give less power to the link I could make between them. What do think about it and what do you recommend me ? Shoud I closed the Analytics account ? Or down one of the website and rebuilt it whith a different domain / host / analytics ? The thing is if I delete one of the website i'll be force to republish the articles, because there are links on it, and they're part of a deal I've already made. Thank you
Reporting & Analytics | | Spleen0 -
GA dropping source due to 3rd party checkout?
So I am trying to track ecommerce transactions on a Prostores site and GA is dropping the source because the checkout is on prostores domain instead of the store domain. All ecommerce transactions show a source of the actual website as a referral. I've read googles documentation on tracking across multiple domains but just can't quite get it right. Can anyone help me out? Here is my tracking code: ss:commentdo nothing</ss:comment>
Reporting & Analytics | | BlinkWeb0