I want to know that how the details of the viewers could be traced in php?. Actually I need to trace out No. of hits into my website, from which geographical locations, Level of threats, Graphical Presentation of activities, Country and Language of the viewed customer, Status of the website showing the process and performance, which menu gets more hit from client side, IP’s of the viewed customer etc. ??
Kindly show me some posible ways.
Try http://piwik.org/ ... I believe that it has an API that will let you access the specific details you want if you don't want to use their reporting dashboard.
Another example package is http://www.openwebanalytics.com/
Personally I would not reinvent the wheel when there is an OSS solution and it doesn't sound like you're ready to create an alternative to these packages.
Related
I would define myself as a junior PHP developer (as have written small scripts occasionally). A week ago I started a new project to make a website for magic the gathering (card game) where users write and publish their articles on the game or tournaments.
Normally it wouldn't be a problem because if there is any external source, it could by hyperlinked and the problem is solved.
But in this case in articles users have to discuss about MTG cards, upload decklists and stuff like that and can't put hyperlinks for these things and neither create a database for all cards as only 3 months new cards are published with new set release.
What I am looking for is a 3rd party code integration into my project where user typing a string such as "[card_data]NAME OF CARD[card_data]" have a card preview by clicking on it.
There are several websites like:
https://www.mtggoldfish.com/articles/instant-deck-tech-five-color-birds-modern
https://www.channelfireball.com/all-strategy/articles/
and several other website.
I couldn't try anything because I don't know the procedure to call an API in php script, tutorials on youtube, or w3schools are very simple and often they are about facebook and google apis .
There are websites that have APi available for mtg cards data such as https://docs.magicthegathering.io/
https://scryfall.com/docs/api
https://www.echomtg.com/api/
But I am missing the part of integration them in my website.
I would like to have something like in this example where "Wasteland" is a card and by hovering on it or clicking on it there should be a card preview:
Of course, the easiest way to make Wasteland useless is never to play any land at all
I found a really easy and simple solution to the problem above. I'll use tooltips of https://deckbox.org/help/tooltips
I'm making a light PHP-based browser game (it's basically an interactive website with graphics). I definitely don't expect it to generate any income, but it'd be super if I could just get enough money to pay for monthly VPS hosting.
Instead of putting an ad on every single page, I decided to have a separate section where users can choose to view ads for a small reward. I'm looking at Google Adsense as an option for accomplishing this, but I'm not familiar with how I might implement this.
Is there any way I could check to see if a visitor has finished viewing the ad, then generate a token as a PHP POST variable?
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
Here is the deal - our internal CRM is used for managing the huge amount of estimate requests we receive each day. The software is built with php / codeigniter / mySql. It allows our sales team to store a lot of information regarding the lead and when the time is right, generate estimates and even contracts.
Let’s focus on the contract.
When the user hits the "Create contract" button, the software gathers all the information like Client name, address, social security number and stuff like that. Using this information and a couple of On/off options it generates the contract dynamically. Of course it always needs some editing, that’s where my problem starts.
The user has to edit the document in a TinyMCE box - sort of a WYSIWYG editor. This editor sucks for complex editing.
We use Google apps for business, so here is what I would like to do: When the user hits the Create Contract button, the software has to gather the dynamic information and create a file on Google Drive with our contract layout and information. Then the user is free to edit the file using the Google Drive interface which is great.
Does anybody know a approach for this?
Best regards and sorry for the bad English.
I am in the process of developing a PHP application that awards users for supporting indie games. Once my website confirms an indie purchase, it will unlock certain VIP areas of my site.
For example, I would have a link on my website to Minecraft's registration page. Once my referred user signs up and pays for his copy of Minecraft, is there any way for my site to instantly be updated that the user successfully bought a copy?
This isn't specific to Minecraft either. I would need to include many links to other indie developers' purchase pages.
I'm at a loss to where to begin on this, nor even sure if it's technically possible.
One way of doing this is via an API whereby the purchase is made on your site and you communicate with Minecraft on the backend.
Alternatively, affiliate networks like Commission Junction do the hard work of checking where the user came from and whether or not they buy the product.
However, it doesn't look like Minecraft offer either solution, so your only other option is contacting them directly and asking them if they want some kind of marketing partnership with you.
Yes, just ask the user. "Did you buy Minecraft? [yes] [no]"
Isn't it obvious that you need to get a response from the minecraft site to acknowledge a purchase?