Google Custom Site Search Not Tracking in Universal Analytics - search

We upgraded to Universal Analytics about a year ago and since upgrading our Site Search isn't displaying the keywords within our Analytics account, or even tracking the number of times it is used.
This is a problem as a marketer as I like to know what people are looking for so that I can provide them relevant content.
All I can find on the Google blog is this:
https://support.google.com/customsearch/answer/2715510
'At this time, Google Custom Search Engine, is not compatible with Universal Analytics.'
Has anyone got any suggestions as to how I can get this data back? Are there any other custom site searches that I could use instead? Are Google even looking at this?

Google CSE is using old _gaq calls for analytics, it can be mimicked by adding following code line at the end of universal GA snippet:
_gaq={push:function(){ga('send','pageview',arguments[0][1]);}}

View - View settings - Site search settings is on and correctly tuned?

Related

Google Search Engine showing results for different keywords instead of typed one?

Whenever I want to search for my Android APPS which are developed under publisher Nixion (suppose it). Instead of displaying that APPS developed by Nixion, it displays other keyword contents. Same thing happens with me when I search on PlayStore. Is there any thing provided so that I can request Google to include this word as keyword in PlayStore & Web Search Engine.
Is there any thing provided so that I can request Google to include this word as keyword in PlayStore & Web Search Engine.
Yes, you may refer to this guide for the steps on how to add, edit, or remove your keywords.
And in addition to that, you may want to also check this article for more information regarding how suggestions can vary by Region and Language and most of all how Google instant’s Autocomplete suggestions work.

How to avoid particular url to track and duplicacy by Google analytics?

I have a website developed in asp.net MVC4 with Google analytics code. We noticed three issues while analyzed GA reports:
It displays admin pages (like "/Areas/Register/Views/Merchandiser/Create.cshtml", for example) and shouldn't be in analytics report
It displays duplicated (like "/myurl" and "/myURL", for example) urls and shouldn't be duplicated
It displays error pages (like "/Errors?aspxerrorpath=/Admin/Conteudos", for example) and shouldn't be in analytics report.
For #2, I have gone through this link but I did not get the results even after 72hrs.
For #1 & #3 - can I use robots.txt ? - if yes, how can I use this for asp.net mvc4 website?
Is there any way to resolve above issues?
Any help in this regard will be highly obliged.
The problem is that asp.net is allowing case-insensitive URLs while google analytics considers foo/bar and Foo/Bar to be different urls and is the correct behavior per the W3C: http://www.w3.org/TR/WD-html40-970708/htmlweb.html .

google search in my website

Is it legal to use the google search results in my own website not using the google custom search that google provides?
I have 2 different cases:
The first is that I design a search box, with a google logo and provide options so the user selects which type of content (web, images, videos...), and the the results open in a new window with the normal google search results page. it means I submit the the search query from my website to the google search results.
The second is that I design both the search box and the results page so that the results are shown in my website instead of the google search results page.
I found an example for this:
http://demo.tutorialzine.com/2010/09/google-powered-site-search-ajax-jquery/search.html
NB: In both of the cases I will include a google logo and link to the original google.com website as credit.
So which of the two cases or are they both legal?
Thanks.
You may be able to use the Google AJAX API for your purposes. See:
Am I allowed to use the Google AJAX Search API on my site?
Google also provides documentation for developers and example code.
For the legality of specific uses, you should refer to Google AJAX Search API Terms of Use and a lawyer. Good thing you said you don't want to use custom search, because the Google Custom Search Terms of service seem to specifically exclude using it with new windows and within frames in sections 1.4(b) and 1.4(c).

google image search: search similar images

I want to write a mobile app which takes a picture and searches google images for similar pictures and then displays the results.
However, with google image search I can only search for text strings, and with the search API it seems there's no possibility to search for similar pictures; this feature seems to be available only through the web interface.
Any idea how I can solve this problem?
thanks,
Christoph
There is a way you can do this now, but its not officially supported, and there are probably some restrictions on the number of queries you can perform. Update
http://images.google.com/searchbyimage?hl=en&biw=1060&bih=766&gbv=2&site=search&image_url={{URL To your image}}&sa=X&ei=H6RaTtb5JcTeiALlmPi2CQ&ved=0CDsQ9Q8
There is also a google image search API, which is being officially deprecated, but it will work for now.
http://code.google.com/apis/imagesearch/
The Google Vision API.
https://cloud.google.com/vision/
This is very simple and easy and powerful.
I had done something like that recently for a mobile app, this is the code for it, it uses google search by image feature, and returns the "best guess" or the whole page
you could use that and modify it to do what you want, but once you get the best guess of the image you could search for any image with that title, etc
https://github.com/hbattat/search-by-image
I don't think it's possible. If you click the link to find similar images from the images result page you get a link with the original query included:
google.com/images?q=ORIGINAL_QUERY&imgtype=i_similar&sa=...
If you remove that GET param manually, the search does not work, it only shows the images search form.
I dont think it is possible to find similar images with google if you do not know what's on it.
I was looking for an answer to this some time ago, and found tineye. You have to pay for it, though. Currently (Jan 2012) USD300 for 5K searches, USD1.5K for 30K searches...
SerpAPI enables to search through Google Images and returns a clean JSON.
URL example:
https://serpapi.com/search.json?q=Apple&tbm=isch&ijn=0
Documentation:
https://serpapi.com/images-results
This service is integrated with most of the programming languages: python, php, java, golang, nodejs...
Google limit the number of search per day. but this service provides unlimited searches...

How to add google search results on your site?

Is there any way to add google search results into your site such that the results appear under your domain (and the page doesn't get redirected to google.com)? I know about google cse but this is not a free solution. Is paying for CSE the only way? Thanks.
Use the Google AJAX Search API (my emphasis):
The Google AJAX Search API lets you
put Google Search in your web pages
with JavaScript. You can embed a
simple, dynamic search box and display
search results in your own web pages
or use the results in innovative,
programmatic ways.
You just need JavaScript - nothing server-side.
You could use Google Search API.
You could also query Google search engine through a Web Service. Here's the WSDL and here's the FAQ. But I think this will be discontinued in favor of the first suggestion I gave.
I've never used this but if you're into python check out Python Library for Google Search from Peteris Krumins’ blog.
What about this? http://code.google.com/apis/ajaxsearch/web.html
And there should be even API for PHP etc.

Resources