The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • 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 Q&A Forum
    2. Categories
    3. Conversion Rate Optimization
    4. Need help Tracking PPC vs Organic and respective ROI

    Need help Tracking PPC vs Organic and respective ROI

    Conversion Rate Optimization
    3 3 2.2k
    • 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
      • 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
        • 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
          • 1 / 1
          • First post
            Last post
          • Track bounce rate per PPC keyword
            carl_daedricdigital
            carl_daedricdigital
            0
            4
            1.4k

          • Help! Tracking Conversion Source of Specific Users: Possible? How?
            MarkHawaii
            MarkHawaii
            3
            16
            1.5k

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

          • To all the PPC expert :
            Robertjw
            Robertjw
            0
            3
            142

          • Event Tracking or Goal Tracking?
            Martijn_Scheijbeler
            Martijn_Scheijbeler
            0
            8
            274

          • Adwords Tracking
            DavidKonigsberg
            DavidKonigsberg
            0
            5
            242

          • How to track PPC conversions?
            VictorVC
            VictorVC
            0
            6
            811

          • Tracking Sales to Sources
            chrishansen
            chrishansen
            0
            5
            527

          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