Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Change Phone Number Based on Traffic Source + Ping URL for Call Tracking Number
-
Hi Everyone,
Is there a tool that can change the phone number on a web page based on the visitor source (i.e., direct, organic, paid, etc.)? I'd like to implement a solution like this with different call tracking numbers based on the visitor source. We use the Google suite for our analytics (GA, GTM, Google Data Studio, Google Optimize is also an option as well).
- Also, is there a good call tracking service that will ping a URL each time the phone number is called so that we can track these calls as events in GA? The majority of our visitors use a desktop PC and dial in the number on the screen rather than clicking (tapping) on it from a mobile device.
Thanks,
Andy
-
Hi AndyRCWRCM !
For dynamic phone number insertion based on visitor source, you can leverage Google Tag Manager (GTM) and its built-in functionalities. GTM allows you to create triggers based on different conditions, such as source/medium, and then dynamically change elements on your website, like the phone number.
Here's a basic outline of how you can achieve this:
Create Variables in GTM:
Set up variables to capture information like source/medium.Set Triggers:
Create triggers based on the visitor source. For example, if the source is "organic," trigger the change.Implement Tags:
Use tags to change the phone number dynamically. This could involve JavaScript to modify the HTML on the page.Regarding call tracking services, you might consider platforms like CallRail, CallTrackingMetrics, or DialogTech. These services usually provide dynamic number insertion based on various parameters and offer integration options.
To track calls as events in Google Analytics (GA), most call tracking services allow you to set up event tracking. The service typically generates a code snippet that you add to your website, and it pings a URL or sends data to GA when a call occurs.
For desktop users who manually dial the number, you might need a solution that can detect when a call is initiated. This could involve additional tools or software on the backend to detect when the phone is in use.
Ensure compliance with privacy regulations and clearly communicate any call tracking to your users to maintain transparency.
To get all the details of call, SMS and internet packages visit on net package hub -
I'd be interested to hear which solution you choose to go for in the end and why.
-
Hi Alex,
- Thanks I've since learned that all of CallRail, Wildjar, Phonewagon, and others like these three can track calls and send the data back to Google Analytics for instance as events.
Thanks!
Andy
-
Unfortunately, outside of Google Ads, Google doesn't offer a solution that you can use across your marketing efforts. (Which is a shame, as they clearly have the infrastructure set up to support the functionality in Ads. I, for one, would be happy to pay to extend this across to Analytics for more general tracking)
There are a number of 3rd parties who offer services that will integrate with Google Analytics, Ads, etc. and, potentially, your CRM if you have one. There is a good article here that might be a good starting point: https://www.optimizesmart.com/phone-call-tracking-google-analytics-beyond/
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
-
Organic traffic down
My 15 or so clients have all seen a drop in organic traffic by about 20% on GA4 for April. Rankings have not dropped or anything like that - so just wondering if anyone else has had similar?
Reporting & Analytics | | Contentcoms2 -
How to change domains in Google Analytics without losing the data
Hi there, We recently changed our domain from .COM to .NET so that all our subdomains from external pages matched. Right now in Google Console we have our new .NET website being tracked, but in GA we are still tracking .COM. It is also causing issues with MOZ crawling our site because of the .COM/.NET discrepancy. My question is what is the best way to change our Google Analytics from .COM to .NET without losing historical data and what considerations do we need to change before implementing this? Our team was concerned that just downloading the old data would be too vast and it we wouldn't be able to continue manipulating it dynamically in GA. Thanks!!
Reporting & Analytics | | cPanel-LLC.0 -
Google Analytics Goals - Button Tracking
Does anyone know if there is a really easy way to track a button in Google Analytics yourself? It seems that most button click goal setups involve some use of tricky code and I'm wondering if there is a much easier way to do this that will allow us to simply setup and track certain button clicks as goal conversions in Analytics. Your help here is much appreciated!
Reporting & Analytics | | Gavo0 -
What is Local SEO in Google Analytics (Organic Source)
Recently, I saw "Local SEO" is mentioned as the organic source. Can someone please tell what is this and from where Google is fetching data for this source?
Reporting & Analytics | | Kevin.Monks0 -
Redirecting all URLs appended with index.htm or index.html
It has come to my attention with one of my clients (WordPress website) that for some time they have within their Landing Page report (of GA - Google Analytics) URLs that should all be pointing to the one page, example: domain.com/about-us, also has a listing in GA as domain.com/about-us/index.htm Is this some kind of indication of a subdirectory issue? Has anyone had experience with this in such wordpress plugins as Yoast SEO, or other SEO plugin? My thoughts here are to simply redirect any of these non-existent files with a redirect in .htaccess - but what I'm using isn't working. I will insert the redirect here - - and any help would be greatly appreciated. RewriteEngine onRewriteCond %{THE_REQUEST} ^./index.html?
Reporting & Analytics | | cceebar
RewriteRule ^(.)index.html?$ http://www.dupontservicecenter.com/$1 [R=301,L] and this rewrite doesn't work: RewriteEngine on
RewriteRule ^(.+).htm$ http://dupontservicecenter.com/$1.php [R,NC] _Cindy0 -
Google SERP showing a URL with UTM_source attached - why? Can I stop it?
I just found a Google search results page showing a URL with a UTM source tag attached. Any idea how or why this has happened? How can I stop it as I'm guessing this is overwriting my organic visits with referrals from this site. See attached photo for pic of SERP page. The link is going here: http://employment.govt.nz/er/holidaysandleave/parentalleave/?utm_source=newzealandnow.govt.nz 5vxTDTi.png
Reporting & Analytics | | DanielleNZ0 -
Setting up Google Analytics default URL
If someone has set: the default url in Google Analytics to a non-www address (http://mysite.com) then placed the UA tracking script from that GA account within the CMS framework of the website... ... and then set the permanent 301 redirect in the htaccess file to redirect to the www address (http://www.mysite.com). How less accurrate will my GA analytics measurements be considering the default url within GA is non-www and the permanent 301 redirect in htacess is to the www-address? Anyone know how reliable GA reports are until the default url in GA analytics is changed to match what is the redirected url in htaccess file? _Cindy
Reporting & Analytics | | CeCeBar0 -
Will having a subdomain cause referral traffic from the domain name?
Hi! One of our clients has a site with the store on a subdomain: store.example.com. When we've set up goals for order confirmation pages, we often see most of the sources attributed to example.com. Is this because of the subdomain issue? How would we correct it so that we would see as the referring source for the goal the site that sent to the root domain originally, and not the site that sent to the subdomain? Thanks!
Reporting & Analytics | | debi_zyx0