undefined
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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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
1.2k
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 Sep 11, 2019, 11:12 AM

    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 Dec 28, 2023, 2:34 AM

      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
      • topic:timeago_earlier,4 years
      • Xiano
        Xiano Subscriber @AndyRCWRCM last edited by Sep 22, 2019, 9:10 AM Sep 22, 2019, 9:10 AM

        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 Sep 21, 2019, 9:21 AM Sep 21, 2019, 9:16 AM

          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 Sep 22, 2019, 9:10 AM Reply Quote 0
          • topic:timeago_earlier,10 days
          • Xiano
            Xiano Subscriber last edited by Sep 11, 2019, 6:35 PM Sep 11, 2019, 6:35 PM

            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
            1 out of 5
            • First post
              1/5
              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

            • marshdigitalmarketing

              Tracking PDF downloads from SERP clicks

              For the longest time, our company policy has always been to put PDFs in a secure folder (hence they are not indexed and do not appear in search results). After evaluating this strategy, there has been clamor in recent months to allow Google to index our whitepapers. My question: Once PDFs start appearing in search results, what is the best way to start tracking clicks due to these "downloads"?

              Reporting & Analytics | Mar 15, 2019, 6:11 AM | marshdigitalmarketing
              0
            • Taysir

              Vanity URL vs domain URL

              Hi guys, Our CEO is having an interview with a known broadcaster on radio. During the interview he will mention a specific URL www.example.com/marketingcampaign that we want track on Google Analytics, therefore behaving like a vanity URL redirecting to the actual URL www.example.com/resources/primary-keyword-2018. Would this work the same way a vanity URL in terms of tracking or not such as following guideline here ? I am asking because vanity URLs are supposed to be completely different domain name that gets purchased and in our case it is the same domain name just with a different URI. thanks guys!

              Reporting & Analytics | Jul 24, 2018, 5:20 PM | Taysir
              0
            • Kevin.Monks

              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 | Apr 4, 2017, 6:30 PM | Kevin.Monks
              0
            • Armen-SEO

              Tracking 301 redirect traffic in Google Analytics

              if I 301 redirect www.mywebsite.com to go to www.yourwebsite.com, how can I track the traffic in Google Analytics that is coming from mywebsite.com??  I don't think that's a referral traffic, is it?

              Reporting & Analytics | Sep 1, 2017, 4:49 PM | Armen-SEO
              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 | Jan 26, 2018, 3:02 PM | 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 | Nov 25, 2013, 2:14 PM | SarahLK
              0
            • CassisGroup

              Why is my direct traffic down DRASTICALLY?

              I have been seeing a trend for a while that is intesifying. My direct traffic numbers are down A LOT. We are not down 50% to LY (in actual number not just percentage of traffic) I am trying to understand what could be the causes of this issue. I was considering simply bigger meaner competition, but I actually perform decently on my returning customers.  Also my performance on my brand keyword is more inline with my current trend so I would except these KW to do equally as bad if the actual brand/store was the issue. The more surprising even, is the fact that I can trace back the start of the trend exactly to the day. Overnight on Sept 22 LY direct traffic went down 30% (to LY) when it was trending UP 20-25%(to LY) before. Now, we did do a redesign of the website on May 2011 (4 months before the drop), and did change host Oct 2011 (a couple weeks after the start of the trend). Do you have any clue as to why this could be happening? Did GA start tracking direct traffic differently?
              Any thoughts?

              Reporting & Analytics | Sep 17, 2014, 5:19 AM | CassisGroup
              0
            • dangaul

              Comparing % Change, Google Analytics

              Hey Mozzers, Is there a simple way to compare the "% Change" in traffic when comparing two separate time periods in a single Google Analytics report? When comparing data from two separate time periods, an exported CSV doesn't include the % Change (booo!), and there's no option to sort by % Change within the GA report, essentially forcing you to scroll through all the results to pinpoint the major movers and shakers. I'm not averse to using spreadsheets to sort this data, but I'm thinking that I'd likely need a macro to make this work, something like this. However, none of the macros on that page are working (possibly because they were designed for a previous version of Analytics). All suggestions are appreciated. Thanks!

              Reporting & Analytics | May 4, 2012, 4:31 PM | dangaul
              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
            • Local Citation 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.