Blocking Proxies from Views - php

I was just wondering...Other than using User Agent OR Google Analytics, is there any good way to detect proxies? IE people using proxy bots to visit your site? Is there a way to do this in JS?
I've already tried pulling data from Google Analytics using gAPI but it isn't useful since i'd have to make more then 50,000 requests a day and is simply not feasible.
Purpose is because i'm running an ad-management website and wish to stop bots...
How does Adsense manage to block all those China bots from Adsense profit generating?
Would appreciate if there's any thoughts regarding this!
Thanks!

You can use a service like Maxmind to do this.
Details : http://www.maxmind.com/en/proxy

Related

Google Hangouts in my website as a chat/messaging system

I currently have Google OAuth 2.0 for authentication. Next I want to be able to use google hangouts in my website so users can chat with each other, along with showing their contact list. So basically I want it to look like how it is on gmail but on my website for hangouts. Main reason for doing this, I want my users to be able use hangouts as a mode of communication. Please let me know if this is possible and provide the necessary resources, an example/demo of this working would really be helpful.
Im afraid there's no API at the moment available (nor plans for that) to access the text chat feature of Hangouts.
yes, you can. More information about google hangouts API here https://developers.google.com/+/hangouts/getting-started

Is it possible to advertise on local network via Adsense?

Recently I have developed an app on php, which will be running in my workplace local network. The traffic on the Sever(hosted externally) is very large. But the problem is that, since it has to run within local network, the same public IP will be allocated to every user within the network.
Map of the network
Server (Public IP eg. 11.11.11.11) -> Local network users (eg 198.162.1.1).
My application server is has been hosted externally.
Will I be able to run advertisements(adsense) and get paid through it. As the users will always have same public IP.
Note: I am much more concerned about adsense(by google).
I would also like to know the best way to earn through a social networking site other then addsense.
I request you to answer descriptively.Feel free to edit this question for better understanding.Thanks for reading.
Yes, because in your case even google.com will be browsed from local network and so it will also have traffic. Now just don't ask your friends to click on adds in your website.
First, here’s a very brief outline of exactly how AdSense works:
You sign up for AdSense with Google, and, if you are accepted, Google will start placing ads on your web pages automatically.
If someone on your site sees an ad and clicks on it they leave your site.
Google charges the advertiser for the click and shares this money with you. This type of advertising is called Pay Per Click advertising, usually abbreviated to PPC.
The Ads you get on your web pages are usually relevant to your visitor.
With a planned $90 million settlement, Google could soon dispense with a class-action lawsuit involving so-called click fraud.
But while that may be good for Google, it doesn't mean the problem of bogus clicks on online ads--which advertisers have to pay for--is going to disappear anytime soon. A lack of clear standards for determining what is a fraudulent click, or some sort of third-party clearinghouse to monitor the situation, means some advertisers believe they can't do much more than head to the courts when they think there's a problem.
Certainly, Google and Yahoo, which run the two largest pay-per-click advertising networks, say they're addressing the problem. But some click auditing companies still claim that between 20 percent and 35 percent of clicks on Net advertisements are fraudulent.
Unfortunately, there's no easy answer. Some experts say the solution is to have an independent auditor that would use data from the search engines and advertisers to determine in a neutral environment whether clicks are fraudulent.
I repeat, in your case users will even browse google.com or other site, which enables them to know the network type that you have. But make don't click on your own adds which violates their TOS. All the best.
i think it is not possible to run in local network because i should hit the Google adsense server so that it increases your earnings. you can let your Google adsense Script run it doesn't consume more bandwidth.
I'm going to say no.
For a better, more descriptive answer, ask Adsense directly
Possible related questions
Intranet Ads? Same IP, multiple hits
How google adsense detects that the clicks are made from same computer ? Do they check ip addresses ?
Is it legal to add google adsense acount to Local LAN website?
Edit for 1st comment
would you mind giving some conclusion explaining briefly. Can you also give some good alternative to google adsense for a social networking site. I appreciate for help
As all clickouts will be on the same IP "As the users will always have same public IP.", Google will think this is "clickfraud", and you're falsifying authentic clickouts - which you're not, but this is what it will seem like, on Google's end.
Google will first flag your account, and then (most likely, after investigating) close your Adsense account.
Alternatives to Adsense would be;
Infolinks
Kontera
Amazon Associates
BuySellAds
Text Link Ads
Clicksor
Apparently a good choice
Adversal
I've not used any of these personally, and I fetched this list from stream-seo.com

What is a good PHP analytics script?

I've created a completely custom website with a custom CMS. I would like to be able to use Google Analytics to get information such as visitor count, popular pages, visitor location(?), etc. I'm not into the analytics part of websites yet, so I've been looking for some easy ways to implement GA into the CMS. I'd love for the analytics dashboar to look similar to Blogger's analytics dashboard.
Does anyone have experience with a script that will get information from GA, and display it in a nice format?
Thanks!
By the way, I am very new to GA, so sorry if some of this doesn't make sense.
Piwik is a good option. It is open source and exposes a web API, so you can probably customize it to your needs.

Record Google Analytics with PHP? Possible?

I use Google Analytics and love it, I have all the goals and conversions setup etc. It works great.
My current task is recording mobile apps. I do not want to hard code it into the App due to ease of changing methods, so I plan on planting the analytics in the mobile API (which is in PHP). I would like to record google analytics events using PHP instead of Javascript.
I know there is a PHP API for Google analytics, but I think this is for reporting only. What would you suggest doing? Maybe a CURL or something? Im lost!
Thanks for your help!
Would this work: http://code.google.com/mobile/analytics/docs/
Try this:
http://code.google.com/p/php-ga/

php class for seo

I recently use the great php class call : Google Analytics PHP API. I manage to get it working to get a lot of info and stats for my 25+ website that have analytic
Now i like to get more data like
The page rank the google placement
(where i am on google #325 or #520)
Google Page Rank
Google Indexed Pages
Traffic Rank
Inbound Links
DMOZ Directory
Yahoo! Directory
get a summary (my way) much more like http://websitegrader.com
do you know a php class to do that ?
I guarantee you're not going to find one "class" that does all that for you.
Manually checking your site's rank on Alexa is probably going to be your best source of information on top of what Google Analytics is already giving you.
Google Analytics does NOT require any sort of API.
The site you linked to asks for your Google username/password. I'm flagging this question. I encourage others to do the same.
you can get all from alexa api (Alexa Web Services)
http://aws.amazon.com/awis/
but not free
$0.00015 per request ($0.15 for 1,000 requests)
i thought in the past to build a website to arrange an Arab sites
but arrived at the checkpoint
somme website use awis
www.statbrain.com
www.websiteoutlook.com
www.websitevaluecalculator.com

Categories