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

              • luminusagency

                GA4 account & property not showing in traffic property setup list.

                ga4 traffic campaign settings

                Hi there, I've connected multiple client accounts to GA4 already, but three of our accounts that we have administrator rights to in GA4 are not showing up in our selectable accounts/properties list when logged in via Moz to add to the traffic settings area. Anyone else have this issue and find a fix?

                Reporting & Analytics | | luminusagency
                0
              • cPanel-LLC.

                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
              • jayoliverwright

                Google Analytics reporting traffic for 404 pages

                Hi guys, Unique issue with google analytics reporting for one of our sites. GA is reporting sessions for 404 pages (landing pages, organic traffic) e.g. for this page: http://www.milkandlove.com.au/breastfeeding-dresses/index.php the page is currently a 404 page but GA (see screenshot) is reporting organic traffic (to the landing page). Does anyone know any reasons why this is happening? Cheers. http://www.milkandlove.com.au/breastfeeding-dresses/index.php GK0zDzj.jpg

                Reporting & Analytics | | jayoliverwright
                2
              • Britewave

                Adwords start Organic traffic SIGNIFICANTLY drops

                I hope someone can give me some insight here, or at least point me in the right direction. As of September 1 we are running Adwords. We are seeing an alarming drop in our organic traffic since then. It's almost like Adwords is cannibalizing organic. August/September Paid 116/847 Organic 648/178 We've looked at why the Organic could have dropped (penalties, site function issues, etc.) and have found nothing unusual. Can someone give me a reason why this might be happening, Why such a dramatic decrease just as adwords is started. Thanks!

                Reporting & Analytics | | Britewave
                0
              • EvansHunt

                Google Analytics - Next Page Path is the Same URL?

                Hey Everyone, I have a Google analytics question. I'm looking through a client's site and when I look at the next page path, I get the same URL as the next path. For example, on the homepage, the next page path I get is the homepage again? This happens for all URL's, is this an implementation error? Is there a way to fix this? Thanks!

                Reporting & Analytics | | EvansHunt
                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
              • FlynnZaiger

                Finding an Explanation for a Massive Spike in Organic Search Traffic

                Hi, I watch analytics on a website (for a friend's business) that is reasonably stagnant, which just experienced a massive spike in search traffic for no explainable reason. The organic search engine traffic had always been steady, but about two months ago, organic search traffic started rising slowly. I checked OSE & a few other tools, but couldn't find any massive source of gained links or other explanations - just the usual occasional blog post about the company. I got in touch with my friend to see if maybe they'd gone with a competitor or something else, but he also had no idea (and even if he wasn't being honest with me, we still should've been able to spot links or social metrics or something!) Then, yesterday, their organic search traffic just tripled. The crazy thing is, it's not from one keyword: Every search term, and (not provided) essentially went up 200-400%. And I have no freaking idea why. No large gain of links. No website editing. The only possible explanation I thought up is maybe one of their competitors got knocked out, but I doubt that would cause such a stratospheric rise. So figured I'd turn to y'all. Any ideas on what might be causing such wonderful results? Anyone have any good tips on figuring out why a website could all of a sudden be doing incredibly? Analytics chart is below for the curious, and thanks in advance for any ideas / tips! nQHrscw.png

                Reporting & Analytics | | FlynnZaiger
                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

              Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

              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.