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
-
Cross domain tracking Google Analytics
Hi there, Got a question on cross domain tracking: We have a couple of TLD's to serve localized content to our visitors, next to our main .com TLD where our app is running as well in a subdomain. Situation is this: Local sites:
Reporting & Analytics | | jorisbrabants
marketingsite.be
marketingsite.com.br
marketingsite.fr Main site: marketingsite.com
app.marketingsite.com Conversion gets triggered when somebody ends up in app.marketingsite.com/firstuse for example. People can sign up at the local site filling in their email but they end up in app.marketingsite.com/firstuse Reading this article on cross domain tracking I'm getting a bit confused on the setup of the tracking code itself. The sample code provided shows these two lines: ga('require', 'linker'); ga('linker:autoLink', ['maindomain.com','targetdomain.com']); Now the question 🙂 Is it correct when I think that maindomain should be replaced with our local TLD's on every one of those, and that targetdomain is where the conversion happens? In this case the .com site?0 -
Google Search Console - Why is my average mobile position better than my average desktop position?
I'm wondering why my average mobile position is much better than my average desktop position. I'm wondering if Google is comparing the same queries for both mobile vs desktop or if they're only showing me the top ranked for each type of search. Is it example 1 or 2? Example 1: Desktop may have 5,000 ranking queries that average to 21.6
Reporting & Analytics | | Pauly_Gigs
Mobile may have 1,500 ranking queries that average to 8.5 OR Example 2: example.com has 5,000 total ranking keywords, those queries' average ranking in a desktop search 21.6 and mobile search 8.5. I'm curious to know exactly what I'm seeing in Google's Search Console. https://08875344305734164866.googlegroups.com/attach/777ae98664ed418f/Mobile%20VS%20Desktop.png?part=0.1&view=1&vt=ANaJVrEHOjRLlPH43i00NnC8PxaG3ct7bsHum_TWnUoa7xVamCpRp8jrvRQJL-gz4n7Q0otqKcKxcAJA5z1VySs2naQU_Zy5tDps6bJhUSZsLRQq4uU-tJQ0 -
How to track in Google Analytics
Hello, I am helping a client track traffic using Google Analytics. We recently just signed an agreement with a publisher and they have given original credit using a canonical link. How can I track this? I believe it is showing up under direct/ none and I don't know to measure the success of our new partnership.
Reporting & Analytics | | rmazur0 -
Mobile redirect causing traffic drop? Can I move analytics code to capture them as visitors before redirecting them?
Yesterday I implemented a mobile redirect as I don't have a mobile version of my site. As a result I've seen a drop in traffic which makes sense as my redirect script is at the top of the page. If I were to move the redirect script below the analytics code would that allow me to still track mobile users? Would this affect my bounce rate though?
Reporting & Analytics | | SamCUK0 -
Mobile Site on Google Analytics
Hi mozzers, We just launched a mobile site and I was wondering what are the main steps to follow for gettting your mobile site tracked via GA (m.example.com)? We have a profile for www.example.com GATC: javascript or PHP to install? Should the profile be on a subdomain? What else to consider when implementing a mobile site on GA? Thanks
Reporting & Analytics | | Ideas-Money-Art0 -
Track banner ad with google analytics
Hi We have a top banner ad on an external renown site only to attrack traffic. It does show up in google analytics, but i have seen some increase in (direct) / (none) traffic. Is there anyway i can track it when banner is showed from 2 separate URLs http://www.tv2torget.no/bedrift/netthandel/ and http://www.tv2torget.no/bedrift/netthandel/barneklaer/ Thanks Dan Lærum
Reporting & Analytics | | danlae0 -
Why is Benetton ranking with tracking parameters?
For this search: https://www.google.com/search?q=benetton&pws=0 I see the following URL ranking #1 http://www.benetton.com/?utm_source=centrum.sk&utm_medium=listing Why is this happening? I could likely figure it out but I'm busy so I was hoping someone could dig around and let me know 🙂 Anyone? Incidentally, Benetton is in the middle of a massive campaign at the moment so it's strange timing for them to have this showing up and screwing with their GA tracking... EDIT: I should clarify, Benetton is not a client - I don't know anyone who works for or with them. I'm just curious why this is showing up. cmNWx.png
Reporting & Analytics | | TomCritchlow1 -
How can I track search engine optimization data in Google analytics?
My website is linked to a Google Analytics web property. But, I am not able to track search engine optimization data in Google Analytics. So, How can I get it done?
Reporting & Analytics | | CommercePundit0