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. SEO and Digital Marketing Forum
    2. Categories
    3. Digital Marketing
    4. Conversion Rate Optimization
    5. Need help Tracking PPC vs Organic and respective ROI

    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.

    Need help Tracking PPC vs Organic and respective ROI

    Conversion Rate Optimization
    3 3 2.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tjsherrill
      tjsherrill last edited by

      So I have a client who uses PPC and Organic SEO to drive traffic.  Once a user gets to the site, the most common action is to fill out a form.

      I have Auto Tagging enabled in Adwords so all PPC clicks have "gclid" in the url.

      I am also grabbing the Google Cookie and parsing it out to determine if the visitor is PPC or Organic.

      So I have an if statement in my form code to pass PPC vs organic through the form for tracking purposes:

      $url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];

      if (false !== strpos($url,'gclid'))  { ?>

      Essentially this is saying:

      If gclid is in the url, or if the cookie contains PPC 
      set the Web field as PPC Else
      Set it as Organic.

      this is working about 80% of the time. I am trying to raise the accuracy.  any ideas where I might be missing some data?

      thanks

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

        You say that your solution works 80% of the time - how do you know that? Do you have any ideas for why it wouldn't work for the other 20% of the time? Here are some of my thoughts -

        1. Not all of your leads will likely be generated by Google (organic or paid). Are you taking into account that visitors who come from a link on another website and fill out the form should not be tracked as Organic or PPC? It looks like your script is determining every visitor who doesn't come from AdWords should be counted as Organic, and that may be what is causing the discrepancies in your data.

        2. What about visitors who come from a search on Yahoo or Bing? Are they being tracked as Organic in your script?

        3. It's possible that some of your visitors have cookies and/or Google Analytics disabled so I can see that messing up your data if you are checking the GA cookie.

        I can definitely understand the value in passing the source info along through your form, but it looks like your script might need a little finetuning to track more accurately. I have actually ran into similar issues before with trying to pass the source of the lead through the end of the sales funnel so I can determine which traffic sources/keywords generated conversions that resulted in sales without needing a full blown CRM and developed a free tool called Convertable which does exactly what I was looking for. If you are still having problems with your script, feel free to give it a try.

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

          TJ,

          Why send the source info through the form? Are you passing it your CRM or something?

          I typically just utilize Google Analytics to track the source. You can set a custom variable with the lead's name into GA if you want to match up leads.The avantage is that you can also track other lead sources like organic, social, etc. in addition to PPC.

          Of course, if you're doing really high volume, this isn't real efficient.

          -Rick

          1 Reply Last reply Reply Quote 0
          • 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


          Explore more categories

          • Moz Tools

            Chat with the community about the Moz tools.

            Getting Started
            Moz Pro
            Moz Local
            Moz Bar
            API
            What's New

          • SEO Tactics

            Discuss the SEO process with fellow marketers

            Content Development
            Competitive Research
            Keyword Research
            Link Building
            On-Page Optimization
            Technical SEO
            Reporting & Analytics
            Intermediate & Advanced SEO
            Image & Video Optimization
            International SEO
            Local SEO

          • Community

            Discuss industry events, jobs, and news!

            Moz Blog
            Moz News
            Industry News
            Jobs and Opportunities
            SEO Learn Center
            Whiteboard Friday

          • Digital Marketing

            Chat about tactics outside of SEO

            Affiliate Marketing
            Branding
            Conversion Rate Optimization
            Web Design
            Paid Search Marketing
            Social Media

          • Research & Trends

            Dive into research and trends in the search industry.

            SERP Trends
            Search Behavior
            Algorithm Updates
            White Hat / Black Hat SEO
            Other SEO Tools

          • Support

            Connect on product support and feature requests.

            Product Support
            Feature Requests
            Participate in User Research

          • See all categories

          • How ppc affects organic and direct convesions and traffic.
            teconsite
            teconsite
            0
            3
            1.6k

          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
          • Digital Marketers
          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 - 2026 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.