Detecting SE traffic on a landing page
-
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
-
My pleasure. I'll do almost any thing to get a thumbs Up! Im so close to the magic 200 (again).
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!).
-
Exactly - I want to show some information for the users coming from Google
Great - thank you!
-
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
-
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.
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Duplicate page content
These two URLs are being flagged as 98% similar in the code. We're a large ecommerce site, and while it would be ideal to have unique product descriptions on each page we currently don't have the bandwith. Thoughts on what else might be triggering this duplicate content? https://www.etundra.com/restaurant-parts/cooking-equipment-parts/fryers/scoops-skimmers/fmp-175-1081-fryer-crumb-scoop/ https://www.etundra.com/restaurant-equipment/concession-equipment/condiment-pumps/tablecraft-664-wide-mouth-condiment-pump/ Thanks, Natalie
On-Page Optimization | | eTundra0 -
Home page cannibal
I was wondering if others had the same problem I have. It appears Google loves that home page too much and I'm having a difficult time getting it to rank the page I really want. And that happens if a keyword I want to rank for only appears on the home page one time with a keyword density of .1%. Take vanillaqueen.com for example. The home page ranks on the first page for "bulk vanilla beans" and not http://vanillaqueen.com/shop/category/vanilla-beans/ or http://vanillaqueen.com/five-reasons-why-buying-bulk-vanilla-makes-good-sense/ And I'll add another one that I recently took on. This is a personal injury attorney in a large city so there is a ton of competition who have been doing SEO for a very long time. (Fortunately he also does business and civil litigation law to keep the business going). Last month, according to webmaster tools, he got a couple of clicks (hey, it's something!) on "personal injury attorney [his city]" on page 2 in the SERPS, but it was his home page. http://bit.ly/1Gvumlm **In this case I don't mind people landing on the home page, but does the fact that another page that is much better optimized for those keywords indicate a penalty on that page? And is his rank lower because the better page is not ranking and Google has to find the next best thing in the home page? ** Has anyone else experienced that and what have you done to get Google to not go home? P.S. The law site is a huge challenge because of the competition. Any help you pros out there can offer to get this underdog out of hiding will be much appreciated. We're starting a smart, strategic content marketing plan now that I'm very excited about.
On-Page Optimization | | katandmouse1 -
Geotargeting on Home Page
I work on a website that have listings across the country. Is it possible for us to geotarget the home page of the website to cater to the person based on location so we can show the geogargeting links, articles, videos on the home page and direct the user in the right direction. Forrent seem to be doing it: http://www.forrent.com/ Will this have any negative SEO impact or we can lose rankings ?
On-Page Optimization | | AdobeVAS0 -
Is it better to create more pages of content or expand on current pages of content?
I am assuming that one way of improving the rankings of current pages will be to create more content on the keywords used... should this be an expansion of the content on current pages I am optimising for a keyword or is it better to keep creating new pages and if we are creating new pages is it best to use an extension of the keyword on the new page – for example if we are optimising one page for ‘does voltage optimisation work’ would it then be worth creating a page optimised for ‘does voltage optimisation work in hotels’ for example and so on? I am guessing maybe both might help, this is just a question I have had from one of my clients.
On-Page Optimization | | TWSI1 -
What kind of pages are they?
Hi all, after making an analysis of my website the tool has found two pages that I don't know what refers to: /?page id=2058 (only one page of this kind) /?attachment id= (only one page of this kind) does anyone know what kind of pages they could be? Do the have relevancy regading SEO? The plattform is Wordpress. Thanks!
On-Page Optimization | | juanmiguelcr0 -
Home page or landing page?
Hello, I want to ask a question related to that - Should we put keywords in the home page title if we wish to position another landing page better for particular keywords? I have read in one website about SEO that it's good the main keywords of your website to be positioned in homepage title also. f.e. Let's say we have website about web-design and our company is named Company Ltd. The title of the home page is "Company Ltd. - Web design, SEO, etc" We have also another inner page named "Web design | Company Ltd.". So should we leave the first page name only "Company Ltd." and the landing page's name "Web design | Company Ltd." . I don't know if they both have the same keyword in their title they won't compete with each other.
On-Page Optimization | | HrishikeshKarov0 -
Too many links on the same page
I have a problem with to many links on the same page, and there all for the classified adds of my web site, what would be the best way to handle this.
On-Page Optimization | | clickit2getwithit0 -
Source page leading to a 404 pages in reports
Hi everybody, I wonder how to find and quickly correct 404 errors in my crawl reports : SeoMoz says me "http://domain.com/this-page-is-dead" is 404, but I can't figure out a source page where a link to that url appears. I tried a google link:http://domain.com/this-page-is-dead request, with no more luck. I imagine the trick is trivial, but I need it 🙂 Moreover, why do not show a list of pages referring to this 404 page on reports ? Thanks, Loïc
On-Page Optimization | | mandinga0