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. On-Page / Site Optimization
    4. Detecting SE traffic on a landing page

    Detecting SE traffic on a landing page

    On-Page / Site Optimization
    6 4 504
    • 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.
    • rasmusbang
      rasmusbang last edited by

      Hi all,

      I am trying to optimize our landing pages in order to getting new visitors to make an action instead of leaving. But in order to so, I need to be able to identify when a user comes from a Google search and when a user does not.

      Can anyone help me? The site is written in PHP.

      Best regards,

      Rasmus

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

        Hi Rasmus,

        I would do the following: create a goal in Google Analytics (the goal would be "URL Destination" and there you can set the landing page)

        In next step go to conversions -> goals -> overview

        Now you can set the Advanced Segment to Non-paid Search Traffic.

        I hope this was what you were seeking for.

        Good luck,

        Istvan

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

          Can you not see the data you need in Google Analytics?

          You might be doing this already but you could split test 2 pages using Google Conversion Optimiser and see the results in Google Analytics.

          You might find 'crazy egg' heat map service quite useful if you haven't come across it.

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

            Hi,

            I assume you want to do this in code at runtime so you can tailor the page dependant on where the vistor comes from?

            In PHP there is a function $_SERVER['HTTP_REFERER'], this will send the referring url of the visitor. However it is not very reliable and there are many instances where it will contain nothing or incorrect information.

            You would then check the contents of the functio results for indicators that they come from a natural search. I.E the referrer contains Bing, Yahoo, Google. This will not differentiate PPC traffic though.

            Hope this sets you off in the right direction. (if it does thow a thumbs up my way 🙂 )

            Cheers

            Aran

            rasmusbang 1 Reply Last reply Reply Quote 1
            • rasmusbang
              rasmusbang @Aran_Smithson last edited by

              Exactly - I want to show some information for the users coming from Google 🙂

              Great - thank you!

              Aran_Smithson 1 Reply Last reply Reply Quote 0
              • Aran_Smithson
                Aran_Smithson @rasmusbang last edited by

                My pleasure. I'll do almost any thing to get a thumbs Up! Im so close to the magic 200 (again).

                This link http://scratch99.com/website-management/make-money-online/smart-pricing/avoid-smart-pricing-show-adsense-only-to-search-engine-visitors/

                This is basically doing the same thing and should show you a decent example of how to do it (except they are doing it to tailor adverts to search traffic).

                looking over the code on that page, they use an array of values, you could simply replace the values with values such as Google, Yahoo, Bing (ot an exhaustive list by all means!).

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Landing page separate from product page
                  seoelevated
                  seoelevated
                  1
                  4
                  216

                • Landing Page Idea
                  MissThumann
                  MissThumann
                  0
                  5
                  50

                • How can I drive organic traffic to a specific landing page?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  8
                  1.1k

                • Will pushing a visitor to a conversion page hosted on a 3rd-party domain hurt the landing page ranking
                  infoblue
                  infoblue
                  0
                  3
                  118

                • Duplication in landing page
                  AndyBirtles
                  AndyBirtles
                  0
                  5
                  87

                • Landing Pages
                  Dr-Pete
                  Dr-Pete
                  0
                  8
                  545

                • Landing page too long
                  Wales
                  Wales
                  0
                  4
                  474

                • Organic Landing Pages...
                  Maximise
                  Maximise
                  0
                  3
                  715

                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