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
-
Tracking links and duplicate content
Hi all, I have a bit of a conundrum for you all pertaining to a tracking link issue I have run into on a clients site. They currently have over duplicate content. Currently, they have over 15,000 pages being crawled (using Screaming Frog) but only 7,000+ are legitimate pages in the sense of they are not duplicates of themselves. The client is using Omniture instead of Google Analytics and using an advanced tracking system on their site for internal and external links (ictids and ectids) in the URL parameters. This is creating thousands of duplicated pages being crawled by Google (as seen on their Search Console and on Screaming Frog). They also are in the middle of moving over from http to https and have thousands of pages currently set up for both, again, creating a duplicate content issue. What I have suggested for the tracking links is setting up a URL parameter in Search Console for these tracking links. I've also suggested they canonical all tracking links to point to the clean page so the pages that have already been indexed point to the correct clean url. Does this seam like the appropriate strategy? Additionally, I've told them before they submit a new sitemap to Google, they need to switch their website over to https to avoid worsening their duplicate content issue. They have not submitted a sitemap to Google Search Console since March 2015. Thank you for any help you can offer!
Reporting & Analytics | | Rydch410 -
When I click on organic search, the biggest drop is on keyword "not provided". What does this mean?
I am trying to identify the reason for the drop in organic search.
Reporting & Analytics | | Sable_Group0 -
Google Analytics: How to Track Blog Traffic that Enter the Purchase Funnel?
I've been trying to figure this out for awhile, but I have had no luck. The current ecommerce store that I work for is trying to find out how to track how many people coming in via the blog are converting/buying. The site lives on Magento and the blog is on wordpress and they both use the same Google Analytics code. Site URL: http://website.com/ Blog URL: http://website.com/blog Is there anyway to do this so you can see which landing pages are driving conversions? If not, Is it possible to set up Google Analytics to show conversions and revenue coming from people who enter through blog directory?
Reporting & Analytics | | Erik-M0 -
Magento and Analytics - Unique purchases tracking
Hi guys, My ecommerce site is on Magento and in order to integrate it with Google Analytics, I enter my GA account number on the Account Number field in the backend. What surprises me is that some purchases are not tracked at all. So for the month of may GA shows X unique purchases when Magento shows x+5. Can this occur because the customer leaves the site before the confirmation page is shown? Thanks. Regards
Reporting & Analytics | | footd0 -
Cross Domain Tracking
I want to track across domains, but also track as a virtual pageview anytime someone clicks on the link to another domain. So currently I have, for example: Checkout Now! As per Google's instructions, I need to have the link set to: Checkout Now! But this will obviously get rid of my virtual pageview. Is there a way I can do both?
Reporting & Analytics | | TeachersMutualBank0 -
Google analytics for your mobile sub-domain
Hi All, I have just started mobile sub-domain for my desktop site. But I don't to know how to configure analytics for mobile sub-domain. I want to track result between desktop and mobile site. Can any one help me to sort out this problem? Waiting for reply
Reporting & Analytics | | Hexpress0 -
Tool to check GA code present on every page?
Is there a tool to check if the Google Analytics code is present on every page of a website? Thanks for your help!
Reporting & Analytics | | gerardoH0 -
Tracking clicks from a specific link
Hi all, I'm looking for a bit of help with Analytics. I want to track the number of clicks that my main CTA generates over the course of the month. I've got all my goals set up correctly, but is there some sort of code that I can add to that specific link which will count the goal conversions which it generates? Do I need to set up something specific in GA? Thanks a lot for your help,
Reporting & Analytics | | theshortstack0