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
-
On-page SEO
This is a question for the organic SEO experts, once you added the main keyword that you want to rank for in the homepage title, meta title plus meta description, perhaps once or twice in the text on the homepage. How often do you then write it in the content marketing, say blog posts, we want to rank higher on Google for "SEO agencies Cardiff" however if you mention this in the blog posts too much say once a week, this could lead to over optimisation issues?
On-Page Optimization | | sarahwalsh1 -
Should I change our main category pages to product listing pages?
With the thought of improving user experience, as well as rankings in Google, I'm considering changing our main category pages to product listing pages (with sub-categories remaining, still). These main category pages are very standard and don't link to any informational content, such as buyers guides, etc. What's driven this is the latest Google core update. I've noticed our main competitor (who we were out-ranking before... but not now) now uses this approach. I can see the benefit from a user perspective, i.e. less clicks to reach products. What's the pros/cons from an SEO point of view, please? Could the potential duplication of content be an issue? For context, we have about 2,000 products and website is on Magento 2.
On-Page Optimization | | alifeofjoy1 -
Unique Geo-targeted domains v. simple landing pages
I have a client with multiple locations in a central area. Is it better to purchase unique geo-targeted domains i.g. DowntownTopekaPlumber.com and MidtownTopekaPlumber.com and create area specific splash pages with links back to the main site -OR - is it better to simply create landing pages on the main domain - www.GoodGuyPlumbing.com/DownttownTopekaPlumber?
On-Page Optimization | | SearchParty0 -
Search Pages outranking Product Pages
A lot of the results seen in the search engines for our site are pages from our search results on our site, i.e. Widgets | Search Results This has happened over time and wasn't intentional, but in many cases we see our search results pages appearing over our actual product pages in search, which isn't ideal. Simply blocking indexing of these pages via robots wouldn't be ideal, at least all at once as we would have that period of time where those Search Results pages would be offline and our product pages would still be at the back of ranking. Any ideas on a strategy to replace these Search Results with the actual products in a way that won't hurt us too bad during the transition? Or a way to make the actual product pages rank above the search results? Currently, it is often the opposite. Thanks! Craig
On-Page Optimization | | TheCraig0 -
Framed Pages and Dynamic Pages
Has anyone else had experience with different CMS's for Ecommerce . Ones that create static pages and others that dynamically create pages. What differences have you seen with rankings on google with the two. Here are two examples of sites using static framed pages and one with a system that dynamically creates pages - http://www.gardeningexpress.co.uk/ - static frames and http://www.floraselect.co.uk - dynamically
On-Page Optimization | | onlinemediadirect0 -
Landing Pages: New Domain or Sub Folder?
I use premise for landing pages. I have some extra domain names that are fantastic in my industry. I'm wondering if I should use those domains for these landing pages? The header, nav, footer, would be the same as my main site, the body and content would be totally different. will google penalize me if I have the same header and footer on a landing page?
On-Page Optimization | | homebizsmart0 -
Page Cache And Index
If you are browsing a site, what is the best way or programs to use to see if the page has been indexed and cached? Thanks
On-Page Optimization | | gregster10000