Sitemap
- Online Marketing
- Pay Per Click
- Search Engine Optimisation
// Functions relating to VISITOR TRACKING // version 3.4 - updated April 2011 // (corrected $_SESSION['referrer']; error - 07/04/11) // ---------------------------------------------------------------- // Author: Cornish WebServices - http://www.cornishwebservices.co.uk // Copyright statements to be kept in this file // ---------------------------------------------------------------- // Description: setups the parameters for search tracking code // functions called in tracking.php // $webReferrer deals with lead from natural search listings // $webReferrer2 only used for echoing test messages // function fromCookie($key) { $val = $_COOKIE[$key]; setcookie($key,$val,time()+3600*12*1); // for 3 days return $val; } // grab the source and keyword data from PPC campaigns if(isset($_REQUEST['source'])){ $source = $_REQUEST['source']; // source=adwords / yahoo / msn / content } else { $source = ""; } if(isset($_REQUEST['keyword'])){ $keyword = $_REQUEST['keyword']; // keyword= } else { $keyword = ""; } // do not save when refreshed, otherwise will overwrite the true values if ($source!="") $_SESSION['form0'][0]=$source; if ($keyword!="") $_SESSION['form0'][1]=$keyword; if(isset($_SERVER['HTTP_REFERER'])){ $webReferrer = $_SERVER['HTTP_REFERER']; } else { $webReferrer = ""; } // only update session if not already defined $dom = $_SERVER['HTTP_HOST']; $domLength = strlen($dom); if (($webReferrer=="") ||(substr($webReferrer,7,$domLength)==$dom) ||(substr($webReferrer,8,$domLength)==$dom) ) { // old sesssion so use phone number used before } else { // new session so record referrer $_SESSION['referrer'] = $webReferrer; } $webReferrer2 = $_SESSION['referrer']; ?>
Pinterest is becoming an increasingly useful online marketing tool for businesses. This social networking site allows users to create a pin board of quality images within a profile on the website. Because Pinterest is predominantly a visual site it...
You may have heard the term ‘content is king’ thrown around in marketing circles. This relates to the concept that the words and written content for the site are crucial not only for seo but for external advertising and broader online...
Many people now buy their Christmas gifts online for convenience and cost purposes. This means e-commerce companies should be focussing on internet marketing in order to bring more visitors to their website at this time of year. Even though Britain...