Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Reporting & Analytics
    4. Change Phone Number Based on Traffic Source + Ping URL for Call Tracking Number

    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

    Reporting & Analytics
    3
    5
    1205
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • AndyRCWRCM
      AndyRCWRCM last edited by

      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

      1 Reply Last reply Reply Quote 0
      • kafeel_shah
        kafeel_shah last edited by

        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

        1 Reply Last reply Reply Quote 0
        • Xiano
          Xiano Subscriber @AndyRCWRCM last edited by

          I'd be interested to hear which solution you choose to go for in the end and why.

          1 Reply Last reply Reply Quote 0
          • AndyRCWRCM
            AndyRCWRCM last edited by

            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

            Xiano 1 Reply Last reply Reply Quote 0
            • Xiano
              Xiano Subscriber last edited by

              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/

              1 Reply Last reply Reply Quote 2
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              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.

              • See all categories

              Related Questions

              • Gavo

                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 | | Gavo
                0
              • melvinwu

                Any solution to low search traffic on weekend

                Hi. all, https://www.babyment.com is content website. our search traffic always shows a dip on weekend (friday to sunday), anyone has idea why it is like this?  and is there a solution to this? or this is a just normal? Thank you.

                Reporting & Analytics | | melvinwu
                0
              • CFSSEO

                Parenthesis in URL?

                For some reason, we have some URLs on our site with parentheses in them such as somesite.com/used-this(that)What will parenthesis do to the ranking of those pages?

                Reporting & Analytics | | CFSSEO
                0
              • SarahLK

                Organic Traffic From...Mountain View, CA?

                I've noticed something a little odd in my organic search traffic lately.  Looking at several websites that target the Minneapolis area, I'm seeing some organic searches come in (typically using head keywords - no geo-modifier) from Mountain View, CA.  There's no way we are truly ranking well on these terms in California, so it certainly feels like Google sniffing around.  I was worried that perhaps they were checking into penalizing us or something, but we've actually seen upticks in search traffic lately.  This traffic is not showing up in Google Analytics, just Adobe SiteCatalyst.  In the past, spikes from random locations were probably some sort of crawler, like the preview bot, but these are coming in as searches with (for now) keyword data. Has anyone else seen anything like this?

                Reporting & Analytics | | SarahLK
                0
              • Darden

                Google Analytics and DNS change

                Our new alumni application is going be tested at domain uva.imodules.com .  We are going to collect traffic data with a Google analytics account number UA-884652-XX. So going to uva.imodules.com/myPage.html would send its data to Google Analytics with that account number.     Then when it is ready for production we are going to just change the domain name of the application and switch the DNS over to dardencommunity.darden.virginia.edu .  So going to dardencommunity.darden.virginia.edu /myPage.html would send its data to  Google Analtics with that SAME account number.  Aside from having the testing domain data in the same profile are there any other issues/problems we may run into?

                Reporting & Analytics | | Darden
                0
              • ozgeekmum

                What is best practice for tracking RSS feed subscribers

                What is the most accurate/achievable way of tracking data about subscribers to your RSS feed through Google Analytics? With standard WordPress sites, we place the RSS  link to Feedburner so we could track statistics. However it wouldn't track the way that I use it. I use Pulse on an Android Tablet to read my feeds offline on the bus each morning. At home, Pulse automatically downloads the latest feeds wirelessly overnight. So then I can read them without a connection. The obvious downside for my reading experience is that I only get what is contained in the feeds. If the company only includes an excerpt, it's too annoying to read the teaser and be unable to connect and follow a link.  So I only subscribe to feeds that contain the full post. Yeah to seomoz, aimclear, SEL, adwordsblog. I  dont subscribe to bruceclays blog, much as i'd like to, because it doesn't contain the full feed. That's probably deliberate on their part, because I have to consciously visit their blog on my desktop at work, to see the whole post. The other problem with say Pulse, is how it locates the feed. I typed in the URL, and Pulse subscribed me. I assume that Pulse simply looked for the domain.com/feed URL and added that, rather than look for feeds2.feedburner.com/domain. I looked at Feedburner stats and they didn't go up for 2 days, so basically it didn't track me. Would it be as simple as using the Google URL builder to add parameters to each post in the RSS feed?   Eg utm_source=feedreader, utm_medium=rss, utm_campaign=tracking. But that still wouldn't track offline users. I assume that most people are also not going to paste the Feedburner URL into their FeedReader, but would let the platform auto-detect the feed. Any suggestions?

                Reporting & Analytics | | ozgeekmum
                1
              • ivan.precisodisso

                How to track what people type on my text boxes on Google Analytics?

                Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?

                Reporting & Analytics | | ivan.precisodisso
                0
              • debi_zyx

                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_zyx
                0

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.