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
-
Should I remove a high traffic page on my website?
For the last few years, a particular blog post on my site has gotten 3 times as much traffic than any other page, even the home page; however, the topic of the post is only moderately related to the website topic and I'm wondering if all that unrelated traffic is negatively effecting SEO for our primary keywords. Here's an example.... Site topic: Yoga retreats in Costa Rica (we want to attract people who are interested in booking a yoga retreat) Blog Topic: How to extend your visa in Costa Rica (it's related only because it's about Costa Rica and travel, and may help our visitors stay longer) Other Notes: In 4 years, visitors to that blog post have never converted. Blog post bounce rate is 56%, significantly higher than almost any other page Lots of comments on the blog post so visitors to it are engaged and find it very useful To get an accurate reading of interested visitors to the site, i always have to filter entrance visits to this post in my analytics because these users are not an accurate representation of the visitors we're trying to draw. My question: Because I get so much traffic from the blog post, which is about the visa renewal process, will Google consider the website less about yoga and more about visas? If so, will it make it more difficult to rank well for yoga in Costa Rica? Does Google say to itself, "Hey, this website can't be an authority about both yoga and visas in Costa Rica so we're going to consider it a visa site because of all the visits and engagement it gets for that topic." So should I remove the post or just leave it alone? It offers a lot of people valuable information so I would never delete it entirely, but would redirect it somewhere else. Thanks!
On-Page Optimization | | Cabaretti0 -
Drop in Traffic
We recently went through a server upgrade, including SSL, Encryption, Browser Caching and Image Compression. Most articles I've read, state there will be a slight decrease in traffic shortly after launching before an increase from the normal volume. However, we launched over 3 weeks ago and our traffic has dropped consistently since. Question1: What would be an average length of time after implementing this type of update to rebound from the drop? Question 2: I follow Moz to the letter and have scores of 97 and 99 ,from the optimize a page section, for most of our product pages targeted keywords. What recommendations do you, my friends in the Moz Community, suggest we do next? TY in advance, you input is very valuable to me. KJr 7NSVm
On-Page Optimization | | KevnJr1 -
Can you canonical from one domain page to a different domain page
We are a boating site and have our main site with all it's products. We have an engine section within our main site. But we also have an outside domain, specific to a certain manufacturer of engines. So we want our customers to still find the engine information for this manufacturer within our main site, as well as find the manufacturer targeted engine site in the SERPS. My question is this: Can I canonical those pages within our main site to pages on the outside domain? Or does are canonicals to be used only within the same domain? Thanks,
On-Page Optimization | | tdawson090 -
Local Service Pages
We've all been here before if you do local. What type of content should go on a local service page when dealing with multiple service locations? You could: Describe Services List Local News Articles List staff in that location (although I would prefer in the staff page for that city) Testimonials from that location or service But what happens when you are describing something that needs no explanation. Or a medical procedure that requires no localization and altering the wording can actually cause legal problems if misstated. Matt Cuts recommends a few sentences to a paragraph to describe a service, but my experience hasn't found this to hold up locally. Any ideas or suggestions about how this could be remedied?
On-Page Optimization | | allenrocks0 -
Changing the url of a page
Hello. I would like to change the url of a page. It currently has very few inbound links. I would set up a 301 redirect to the new url. Is there anything else I should take into account before changing the url? Is there a downside to changing a url? Do inbound links carry the same value when a 301 redirect is involved? Thank you!
On-Page Optimization | | nyc-seo0 -
Geographic Landing Pages - Fair play or foul play?
evening all, On a recent project for a company selling throughout the UK I created a page for each county in the uk loaded with long tail key words made from "product types + county". These are working really well, so Im now thinking about making a page for every town in the uk using a similar theory - but this will mean over 1000 similar pages, and a headache of how to link them together without link bloating. Are these kind of pages ok? it feels a little spammy as it's so formulaic, but it is genuine. Thoughts?
On-Page Optimization | | pretige120 -
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page?
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page or should I make separate pages for each keyword even when they are similar? Will Google penalize me for making similar pages? Imagine selling, bargain milk chocolate peanut clusters. Keywords examples could be: Bargain chocolate Bargain milk chocolate Bargain milk chocolate peanut clusters Bargain chocolate peanut clusters Chocolate peanut cluster bargains Milk chocolate peanut cluster bargains Etc. Will one page called http://mycompany/bargainmilkchocolatepeanutclusters.com be OK or should I have one called http://mycompany/bargainmilkchocolate.com and one called http://mycompany/bargainmilkchocolatepeanutclusters.com and one called http://mycompany/chocolatepeanutclusterbargains.com , etc.? Thanks for your advice.
On-Page Optimization | | KSHAYY0 -
How SEOMOZ manage to have same pagerank on all pages?
I was just wondering how SEOMOZ manage to have same pagerank on all pages? Even on profile pages.
On-Page Optimization | | DiamondJewelryEmpire0