Click Tracking
I have a portal where people advertise and on they are allowed to display their website addresses so that people that visit the site can go directly from their site from my site.
Do you know of a class or script that would be able to monitor when someone visits an advertisers site i.e. records the click as they go across to the advertisers website.
I could build this myself, but thought that there may be a class or script that would do this already. (Would like this to be stored on a MySQL database opposed to a text fil.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Referrer/click Tracking?
Anyone know of a good referrer/click tracker program? I've checked hotscripts.com, freshmeat.net, and php.resourceindex.com but didn't find anything all that great. There seem to be a ton of programs to track outgoing links, but I was looking for something that is used to track incoming links to my site (i.e. if I put a link up on some site it would go to something like http://example.com/click.php?id=1 then I would know how many people came to my site through that one). I don't need to know how to make one of these, that's easy, but I'm too busy to be reinventing the wheel right now.
Outbound Link Click Tracking
Does anyone know of any tutorials on how to write a script that will allow me to track clicks of outbound links on my site? Or any advice on the best way to do this? Ideally I'd like to have a record written into a database each time an outbound link is clicked. I'd like to then be ablt to query the database and pull a report that shows the number of times each link was clicked during a time period.
Registration And Tracking Click-thru's
My problem: I have a form that captures information about our corporate site and then I insert it into a MySQL DB. The problem starts when I need to track how many users have come back after registering to view a demo we put up. Having searched on google I saw that this thread had somethign similar to what I need, so I decided to post to this group. Can somebody please help me out here.... Am fighting a losing battle with my deadline..
Click Counting
I have a links directory that I would like to count the number of times a link is clicked. I currently have all the links being displayed by pulling the links data from a MySQL table. I have added the a 'Count' field to the existing table. The table contains the following fields: LinkID, Category, Name, URL, Description, Count. My question is is it possible to count the clicks once the links data has been printed to HTML? I am thinking of the PHP equivalent of OnClick Count = Count + 1. Or have I got the whole logic back to front?
Set Vars On Click
I just wonder if itspossible to set an var when u click on a link. For example: When i click on www.test.com i want to make $test contain something.
Assign Value On Click
is there a way to change the value of a variable when a hyperlink is clicked? like im include()ing a variable $content. and when you click it changes from URL to links or whatever?
Banner Click Thru
I'm looking for an easy way to keep track of click thrus on a banner. Can anyone point me in the general direction of what I'd have to do code wise?
Click Counter
Anyone know about a script/code that count how many times a link have been clicked.. I have tried hotscripts.com, phpbank.net and so on.. Only found scripts that costs money or uses a MySQL database. I need one with no needs for MySQL. It should look like something like this: [ Download ] Been downloaded (NUMBER) times.Anyone know about a simple script to do that?
Check Click
I have a page and a sponsor. Every time a user click on a banner from our sponsor their webpage is opened. I'd like to reward these users, but how to check who clicked on a banner. I can't do anything on sponsor's webpage?
Click Counter
i want to make a link counter, i mean, when somebody click on a link in my web, this click is archives. Code:
IP Tracking
i was wondering if it was possible to find someone's IP address then save it to a file like a cookie i suppose but on the server machine instead, where as a cookie is saved to the user's machine, it just really so i can check which IP addresses are viewing the web site and to try block any that shouldn't be there, i was also wondering if it is possible to save a session variable to a file, because when customers login they are assign a session id variable, so that it takes that id searchs the database for their details and shows only their info ??
MLM Tracking
I am tying to figure out how to track downlines for an mlm model. I set the table in MYSQL to have an upline ID. So I have got the 1st level perfect. $level_1 = @mysql_query("SELECT member_id FROM call_center WHERE upline_id={$_SESSION['member_id']}"); $level_1a = mysql_fetch_array($level_1); $upc = mysql_num_rows($level_1); if($upc > 0){ $upc = $upc; }else{ $upc ="None"; } Now here is the issue. All the people that are found in the above query, I need to figure a way to do another query to find all of the people below them and so on. How do I know who is found and then take the found persons id and find the people they have recruited?
Single Click Downloads
How do I ptogram with PHP a link that when clicked starts downloading the file? Basically I dont want to link directly as I want to take note of the number of times a file is downloaded so I need some way of sending the file back to the browser after I have done some housekeeping.
Disable Right Click In Opera
In my website there is requirement to disable rightclick. I am providing the code and it is working in I.E ,Netscape and Mozilla.But not working in Opera browser. My code is <body oncontextmenu='return false;'> The above single line code is working very fine in the above browsers not in Opera.
MySql Dump On A Click
I am developing a system, in which user or power user is allowed to take the database backup, is there ne procedure, in which, on just click,,, the dump of mysql is created for backup.
Inserting Into Two Tables At One Click
I want to insert some data into 2 of my tables through my PHP form.How can i do it? For example, field1, field2 should be inserted into table 1 and field3, field4 should be inserted into table 2. I'm able to insert into one table but not into 2 tables simultaneously.
Link Click Detection?
How might one detect if someone clicked on a hyperkink at your website, so it can be logged in a database? This would have to be done before the browser redirects.
User Feedback In One Click
I have seen this on google and MSN. Google groups has star on which if you click the topic becomes stared... MSN has 5 stars to get feedback from user for giving rank to the pages. Sorry I don't remember on which page they have this feature but I am very sure they have this. I also require it for page rank, I was wondering how do they do it. I am sure MSN is not storing the data on the clients machine. I want if users click on 3rd stat then the 3 should go inside my mySql DB and at the same time I don't want them to go to some other page or open a pop up or something,
Where Do They Go? How Can I Gather Click Info In PHP
I was wondering if it is possible to find out what people click on, using PHP. For example, I have a PHP page with an email link and some third party links (e.g. www.someone-else.com). I want to know where people go. My own solution would be to make the link not to an email or a third-party website, but to another page along the lines of <?php //check out where it came from and where it is going //write info to database header = {where it should be going} ?> I am not sure if you can do this with email, but I am also wondering if there is an easier/smarter way to do this.
Click To Send This By Email
In this forum there is a option called click here to send this to a friend by email, I want to know how they pass the url to a different page?
Right-click Menu Change
Is there a possibility to change/define what will appear in menu after right-clicking on text input box ? If not - how to do this ?
Detect Mouse Click
Is it possible to detect where on a page someone clicks with PHP? If so, can you point me in the right direction?
Form Button Click Itself.
is it possible that on a php script that i can make the form button click itself. so i have a button that when a certain argument happens i want to click on itself thus resetting itself and doing the php script associated with the button being clicked the php is on a form on php self. know it sounds strange but i have some coding that needs to reset itself and only does that when the button is clicked just want a work around. failing that is it possible to use jave to achive this.
Find New Record On Click
I want to make a next and a previous link with my data. here is my query: <?php $sql = "SELECT DISTINCT pdp.PackageId, p.PackageType FROM productpackaging pdp, packaging p WHERE pdp.ProductId =2 AND pdp.PackageId = p.PackageId"; $result = mysql_query($sql); How do I write the code to get next or get previous??
Php Insert Into A Textbox On Click
I have a textbox, where a user can write out a newsletter type deal. I also have a list of products, that when the user click on it, it grabs all the info from the database and neatly generates html for the product. I can deal with grabbing from the database and formatting, but i need some help with on click insert into the text box.
Refresh The Page On Click
I'm trying to find a way to refresh the page upon the clicking of a link that does not use header's. reason being there isnt anyway i can get the statement up above all the output. The only way ive found of doing something similar is: <META HTTP-EQUIV=Refresh CONTENT="3; mypage.php"> Which just refreshes the page every 3 seconds. Not really suitable to be honest. Can anyone think of another way to handle this?
Disable Right-click On Mouse
Is there a php script that wil disable the right-click on mouse or maybe disable the copy and paste feature of the browser? because i have a client, wherein he wants to prevent public viewing his website from copying his website content?
Php Mail Tracking
I have a php script that allows admin to send mail to users now i need to add some code by which i can track how many times mail was opened or viewed etcis there any way to add some code of php etc that could track this i had an idea of adding blank gif image to the mail but many mail programs blocks images so that will become uselesscan anyone give some ideas how to do this.
Referrer Tracking
I've just written a VERY simple shopping cart system for my own joy and edification as much as anything else. Mostly it was an exercise in learning about sessions but I want to keep adding to it. What happens at the moment is that it starts a session when the visitor enters the site. As soon as the visitor adds something to their cart it adds a row into a table where the session id is used as the unique identifier in the table. The table also has columns for the product id and price (joining tables will be my next learning curve) One of the things I want to be able to do is affiliate tracking. The way I have it in my head is that there will be an extra column for refid (or something) so that: www.whatever.com?refid=1234 will be used. 1234 will then get written to the table when the visitor starts to add stuff to there cart. What I need to know is 1. Is this reinventing the wheel? Is there a better way already 2. If the user hits the site and just looks around for a while, how do I make sure that the refid variable is maintained until they add something to their cart?
Cookies And Tracking
I am not sure what the protocal is in posting code so I do aplogize if this is done in error. <?php // set cookie if not already set if (!isset($id)) { srand((double)microtime()*1000000); $randval = rand(); setcookie("id",$randval,time()+14400,"/",".contesthound.com",0);}?> Code:
Visitor's Tracking
I am currently trying to develop a small php-written application which allow me to track every single visitor coming to my website. I would like to track each visitor by IP address, Port number, Session, the pages they visit, and want to identify which visitor is the returned one. I do need some help from all of you. Can anyone give an idea of how to do that, or give me links to webpages where I can retrieve info about that.
Tracking Bandwidth
I have a chat script which I added very basic bandwidth tracking to as follows: ob_start(); print "this is some output!"; print "this is more output!"; $bytes = ob_get_length(); // Amount of bandwidth used ob_end_flush(); The problem is that this merely gives me how many bytes of text were printed... The script uses JS functions in external files to generate everything for the page, which means the .js files are cached after the first time and only a <script> tag and a list of function calls are sent per refresh. I would like a way to know if the client has cached these scripts, or if they are being sent for the first time, etc, so I can add the file size of the .js files to the bandwidth total.. e.g. if ($client_has_not_cached_js_files){ $bandwidth += $size_of_js_file; } The chat script also allows for user icons, so again I would like to be able to tell if each image was cached or whether a new copy of the image was sent to the client. Is there any way I can get this info with Javascript and then use AJAX to post it back to the server ?
Tracking Http_post_vars
I found out I do have track_vars on but it doesn't do what i was hoping it would do. "If PHP's track_vars feature is turned on, either by the track_vars configuration setting or the <b><?php_track_vars?></b> directive, then variables submitted via the POST or GET methods will also be found in the global associative arrays $HTTP_POST_VARS and $HTTP_GET_VARS as appropriate." As it currently goes, I am looking to modify phpMyAdmin. It starts with: lib.inc.php3 which includes config.php3. Then index.php3 includes left.php3 and main.php3. If I set user variables in config.php3 to read the $HTTP_POST_VARS[username] for example it lets me log in with username password from a form that calls index.php. Otherwise I could manually set the username and password in config.php3 and call index.php3 but this would negate the form based login. While this works ok. I would later want to call the $HTTP_POST_VARS[username] variable from another page, such as main.php3 which is an include on index.php3. But, for some reason it doesn't track the variable past the page that gets called from the form where action=index.php3. Is this normal and expected behavior or should the HTTP_POST_VARS array automatically be global? Or Do I have to declare it global such as if it were to be called from a function?
User Tracking
Does anyone know how to track user between pages? I've been using session, but it still stay as a user if I click on "back" button. Is there any way to automatically logout the user if the 'back' button clicked or the page freeze for amount of time?
WAP Session Tracking
I'm trying to use PHP to track user sessions on a WAP page. Since cookie handling is spotty at best on mobile devices, I'm using the session id in the query string to track the user. I've set my php.ini to not use cookies in session handling, but PHP is still not inserting the session query string into the links on the pages. Could it be because PHP doesn't recognize WML and doesn't know where to put the session id?
Mail Tracking
find a email class which contains the functions for sending email as well as email tracking.
Visitor Tracking
I have a custom made CMS with dynamic and static page all coded with the php extention and I am looking to add a visitor tracking system to the site very similar to the one which SMF uses. In my CMS I use the User Authentication script which is pre set in Dreamweaver, so member sessions are MM_Username, MM_Type and I have also set 6 other custom sessions. Here is my problem there are so many pre designed systems out there I just do not know which to choose! I would like to code it myself but connot find a good tutorial for this. The features I would require are; Guest (No sessions) tracking ie; 6 guests online (Click and you will see what pages they are at) Members, full list, when you click their name it takes you to the page they are on. List of users active today.
Tracking Ad Clicks?
I am making a web-based game, and as an incentive to clicking ads I have a script to give people some extra starter cash. The only problem is, I don't know how to track people who clicked and submitted the advertisements. Basically, the only advertisement I am running right now is one where they must go in, register, and be approved. Could anyone (I don't expect people to hold my hand through it) give me some functions that would be useful, or a link to a tutorial, or just a quick snippet of sample code?
Image Tracking
I am going to make page counters that people can have, so if they want a page counter, such as for there myspace, blog, ebay auction, etc. they can place one. Some sites only allow HTML, so this needs to work on those sites. I noticed that you can place get information in an image URL, and the image still works. So How could I track an image so I can make updates to a database?
Simulation Of Left Mouse Click
I was looking for this script for some time now But still didmf fined a salution. I need a script that simulates a left mouse click on specified area of the screen when the page is loaded.
Change The Web Page Contents On Click
I want to sort the data displayed on web page on click of button. I have a combo in which all user have to select the sort order in which he wants to see the data...(The combo box or drop down box contains values "Name, Department Salary and Grade") The user select the order (say name) by clicking the combo box or drop down box. The moment the user releases the combo or drop down box, I want to refresh the page with new sort order.
Unlinking File After Click On Link
I run a script that zips some files, after it's been zipped the client get the link to the file so that he can download it. I want to unlink the zipped file after the client has clicked on the link. This sounds easy but I don't know how to perform an action from a link ie. <a href = ../path_to_zipped_file/zipped_file.zip>download here</a> After they click that link I want to unlink ../path_to_zipped_file/zipped_file.zip any ideas?
Click A Hyperlink To Query MYSQL W/PHP - How?
Like so many questions this involves MYSQL and the PHP (or Perl) layer. I'm going to have html in text fields and there's going to be what normally would be an internal link to another place in the same document. But in this case, Code: <a href="#futherdown">next title</a> is not in the html document. When a user clicks this link I want to query the DB and append/render the queried record on the I guess existing (refreshed) page. What's a strategy to make a hyperlink query via PHP?
Open Window On Button Click
in a form, here's what I want to do : <input type=button onclick= (???) is it possible to open a pop-up window with a specified url without using javascript ?
|