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
-
Product Page Links
I have a product category page at https://www.hurtlegear.com.au/s1000rr/ which currently has 38 products on it. Problem is, all the product titles start with the name of the text: "bmw s1000rr" (because that's what they are) - so that means there are 38 anchored internal links on that page, all starting with the same keyword. You can see how that might look to the Google crawler. Recently that page dropped from around 15 to outside the top 100, and Moz tells me that the page is keyword stuffed with "bmw s1000rr" (no suprise) so I'm guessing that may be the reason the page has disappeared out of the SERPs. I don't really want to change all the product titles (then they wouldn't make sense) so I'm just wondering if there is any way around this? Is there some way of telling Google that this is a product category page and therefore to ignore the anchor text in all of those product links? Can/should the links have some kind of markup on them? Or is the page beyond help? Basically I'm looking at a way of keeping the product titles as they are, but avoiding a page penalty from Google somehow. I'm a bit of a newbie, any suggestions would be most appreciated. Cheers, Graeme
On-Page Optimization | | graeme720 -
Wrong Page is Ranking
My client is an Ecommerce reseller of a few major scooter brands. We currently rank fifth for a particular brand name but our main brand page isn't the one that ranks. Instead, it's a product page. The main brand page has an A rating from Moz for the desired keyword phrases. Neither page has any backlinks. Any ideas on why our main brand page would be outranked by a product page? What could we do to change this?
On-Page Optimization | | TrinShin0 -
Duplicate page content
what is duplicate page content, I have a dating site and it's got a groups area where the members can base there discussions in a category like for an example, night life, health and beauty, and such.   why would this cause a problem of duplicate page content and how would I fix it.  explained in the terms of a dummy.
On-Page Optimization | | clickit2getwithit0 -
Page title changes based on results per page
I have a product listing that allows customers to set a results per page option. This ads a GET variable to the URL. I've added the page number to the title of this page if they go past the first page. If this results per page variable is added to the URL then google see it as a different page. Do I need to change the page title for this?
On-Page Optimization | | BedInABox.com0 -
Duplicate page titles
We have search results pages on our site. They share the same page title, there is no real differentiator between the result pages, other than page 1, page 2 etc. How do we de-dup the titles? just add page 1/2/3 etc to the end of them?
On-Page Optimization | | lilibooz0 -
Should one page with markers or six separate pages?
Hi - I'm working on a site that was set up with 6 bios on one page, with markers jumping to each person's name. I was thinking about separating those into 6 different pages, but not sure if that's the right thing to do. Advice about keeping the bios on one page vs splitting them up? (Am I more likely to rank for those peoples' names if I have a unique page, or is the one page url with each different marker in it, just as good?) Ranking well for those names isn't a huge goal of the site, but it would be nice to make the choice that would help with that rank. Thanks for your input Emma
On-Page Optimization | | emmas0 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5