How to search category and fill site parameters automatically - seo

I have seen some sites where you search (in Google) for a particular item category and when you click the link found in Google it automatically goes to the site clicked with the search criteria filled in displaying the categorised products.
Hypothetical Example
Go into Google type in Sony TV , click to search.
Results are displayed.
Clicking one of the links takes me to a website which shows all the Sony TV models beginning with AA.
Looking at the search options on the page some fields have been automatically filled in (in other words if you did this search manually the site would prompt you to enter some search criteria) - Not sure if this is relevant but thought to mention.
How is this done? Do i need to setup something in our Google account to get the same results?

It's fairly simple. You pass parameters in your URLs that identify the product, and then you just read the URL parameters when pre-populating the search form on the page. When building your site / sitemap / internal & external links you use those page URLs and Google will naturally pick them up.
In your example, you search for Sony TV. One of the results may be
example.com/index.php?product=sony-tv
The website has the variable sony-tv, which it gets from the URL and pre-populates on the search form.
The important part to note is that the site will have built its URL structure in this method typically and the page you're presented with just happens to look like the site dynamically searched based on your query (it hasn't).

Related

Separating redirection logic in angular pages

In my application we have a summary page having a link to take the user to the different pages of the application. For example, we have separate pages for collecting personal details, address details, education details etc., and there is a summary page giving the summary of a student's data. Users of the application will go to the summary page and then navigate to any individual pages in case if the data is not filled up yet. After the user goes to the individual page, they can enter the required details, and upon saving the entered details, they will be eventually redirected back to the summary page.
I have implemented the above functionality as below at the moment,
When the user clicks on a link to the address details page from the summary page, I will pass the redirect url as a query string to the summary page, and upon the user saves the address details in the address page, I will redirect the user back to the summary page using the redirect url passed on the query string.
Each individual pages have a common base class
Redirection logic is present in each individual pages now. This logic checks if there was a redirection url present in the query string, then if present it will direct the user to the summary page after the user clicks on the save button on the current page.
I feel the above solution is elementary, there is potential for adding new pages to our application.
I wonder if there is anyway to implement the above requirement in a elegant way in such a way that the redirection logic is separated as a angular service, route or any other angular technique so that we dont have to do any thing extra for the new pages that will be added in the future.

How do you get the US flag to display in the URL element of the MozBar?

I just installed the MozBar chrome extension and I've been looking at Page Analysis of my website and other similar websites. I have noticed that the US flag shows up on many sites in front of the url when looking at the On-Page Elements of the MozBar.
However, when I look at the On-Page Elements of my website (zilchworks.com) no flag displays in front of the URL element?
How do I get the US flag to display within the MozBar?

Google Search Result with indexed file and map

When we google for some business, it is displaying the result with all page indexed and Map. What changes we need to do in our website to display in such way.
For example:
https://www.google.com.sg/search?q=emhealth
For site links that displaying below the home page, Google will detect it automatically. Just focus on your SEO and Google will change it by itself.
For a map, you need to register on Google Business: https://www.google.com/business/
Google will index when you completely finished. when you doing local listing or local directory submission than your site map show SERPs.

Google+ Author Snippet Photo not showing in search

I have set up my google+ account with everything linked to my website, my website linking to Google+ as per instructions, but photo is not showing in search results, even though the google testing says all is fine.
My site is www.mikegeorgiades.com (Google+ link code in homepage).
My Google+ page is https://plus.google.com/u/0/b/105269586899946171489/+Mikegeorgiades-guitarist-for-hire
Is there any reason why the test would appear OK but not for real? Is there a lag? Thanks!
that can have multiple reasons:
On their help pages the Google guys wrote that "Your Google+ profile picture should be a good, recognisable head-shot". When you browse the web via Google’s search engine you probably see a lot of images which do not show “good, recognisable head-shots”. I think it belongs to Google whether the picture shows up or not.
Google Authorship does not work when you link to a Google+ business page instead of a real profile page.
You did not add a link back from your site to your Google+ page (see this help page (Option 2)).
Your author info is hidden to the public. Google don't like hidden stuff. Make sure that your reciprocal backlink is not hidden via CSS.
Very obvious: Your Google+ profile has no profile picture.
Your site is cached and the backlink is not yet integrated into the source code. Try to clear your cache.
Your backlink is missing the rel="author" attribute.
Your backlink is missing the ?rel=author attribute in the URL (ex. href="http://plus.google.com/u/0/123456789/?rel=author")
Check that your E-Mail Address (if added to your Google+ profile) is on the same domain as your content (read more about it here: https://support.google.com/webmasters/answer/1408986)
Make sure that the byline of your content includes the same name as in your Google+ profile. For example: When your Google+ Profile is "John Doe" your byline has to be "By John Doe" and not "By Doe John" or anything else.
You have not submitted your E-Mail address via this page: http://plus.google.com/authorship
Your Google+ profile is not visible to the public.
Your Google+ profile has been excluded to the search (so no one can find you via Google`s search engine).
There are multiple authors on one page. Google always uses only the first author that has been mentioned on a page.
You did not add your website to "Contributor To" section (click here to do that now: http://plus.google.com/me/about/edit/co)
The "Contributor To" section is not visible to the public.
The Rich Snippet Testing Tool throws errors (even if they are not related to authorship)
Last but not least: Google just does not want to display your profile picture
Update 1: More reasons can be:
Some users said that it also won't work when your website was not confirmed as yours in Google Webmaster Tools.
Some said that they got it to work after adding the same URL in Google+ as in Google Webmaster tools (Within Google webmaster tools you can setup the preferred domain (www or non-www).)
I'm not working at Google but I think when the Rich Snippet Testing Tool shows your picture it should appear in search results after some days.
Update 2: One more:
You have deactivated the option that noone can find your picture in Googles search results. To solve this go to https://www.google.com/settings/plus and scroll down to the "Profile" section. Activate the checkbox beside "Help others discover my profile in search results." (in German this is: "Andere sollen mein Profil in Suchergebnissen finden können").
Update 3: One more:
John Mueller (Webmaster Trends Analyst # Google) announced that in the near future Google will not longer show the profile picture in search results. Instead it will show up on Google News only. However the name will still show up on search results pages. Preview image can be found here: https://support.google.com/webmasters/answer/1408986
I recently experienced my photo disappearing from the search results and I, too, verified that everything else was correct under the structured data testing tool. At first my photo snippet was showing in the SERP but then it vanished. I was also trying different profile photos. I had one with dimensions of 400x400 pixels and another one with dimensions of 256x256 pixels. I didn't fully verify it, but Google apparently didn't like my 400x400 photo. Google wants a clear profile photo of your face. Perhaps some algorithm found my larger photo too grainy or something along those lines. Changing my photo back to the 256x256 version caused my photo to reappear in the search results! I'd suggest trying different dimensions, different photo formats, perhaps even changing the color profile. The search results were updated fairly quickly after I uploaded a working photo. Seems like I saw results in under an hour, YMMV.
You can refer to the photo I used, along with my Contributor to links, at my Google+ page at https://plus.google.com/108810746834291116055. The page that I have my authorship set at is http://blog.ikiapps.com using rel=author.
Update on 2014-Apr-27:
I can confirm my advice worked for me again after completely changing my Google profile to another account and losing the visibility of my authorship associated photo in search results for a brief period of time. It is now restored after following what I posted here.

Google Analytics API and Internal Search question

I'm trying to use Google Analytics API to query internal searches that happen on my site.
I'd like to be able to query the keywords and the number of times that keyword was used in internal search, based on URL of a page on the site. The idea is to find out which keywords direct the user to a particular page.
Does anyone know which dimensions and metrics must use to query that information?
The information you are talking about is in the "Site Search Terms" Report.
First, you need to set up Site Search. This is straightforward. A step-by-step explanation is on this GA Help Page.
Once you've done that, you just need to know how to access the Report.
From the first page after GA login, select a Profile from the "View Reports" menu in the upper left-hand corner of the page
On the left-hand side of the page (in the margin) click "Content" (the fourth item in the list of Dashboard pages) which will expand the items subsumed under the Content section
"Site Search" will now appear in the margin below "Content"
Click "Site Search"; the Report will have three tabs: (i) Site Search Usage; (ii) Goal Conversion; and (iii) Ecommerce. Obviously, most of the information you are interested in is in the first tab.
Once the search tracking is set up as per doug's answer, the dimension is ga:searchKeyword, and the metric you need is ga:searchUniques (and you probably want to sort by -ga:searchUniques). I've checked this against the GA web report & it matches up - the documentation in the GA API Query Explorer isn't really clear on what the ga:searchUniques really counts.