src/js/tracker.js
/**
		 * Log that a user is still viewing a given page
		 * by sending a page ping.
		 * Not part of the public API - only called from
		 * logPageView() above.
		 *
		 * @param string pageTitle The page title to attach to this page ping
		 * @param object context Custom context relating to the event
		 */
Log that a user is still viewing a given page
by sending a page ping.
Not part of the public API - only called from
logPageView() above.

@param string pageTitle The page title to attach to this page ping
@param object context Custom context relating to the event
Log that a user is still viewing a given page by sending a page ping . Not part of the public API - only called from logPageView () above . @param string pageTitle The page title to attach to this page ping @param object context Custom context relating to the event
function logPagePing(pageTitle, context) {
			var sb = payload.payloadBuilder(configEncodeBase64);
			sb.add('e', 'pp'); 
			sb.add('page', pageTitle);
			sb.addRaw('pp_mix', minXOffset); 
			sb.addRaw('pp_max', maxXOffset); 
			sb.addRaw('pp_miy', minYOffset); 
			sb.addRaw('pp_may', maxYOffset); 
			sb.addJson('cx', 'co', completeContext(context));
			resetMaxScrolls();
			var request = getRequest(sb);
			sendRequest(request, configTrackerPause);
		}
function logPagePing ( pageTitle , context ) { var sb = payload . payloadBuilder ( configEncodeBase64 ) ; sb . add ( 'e' , 'pp' ) ; sb . add ( 'page' , pageTitle ) ; sb . addRaw ( 'pp_mix' , minXOffset ) ; sb . addRaw ( 'pp_max' , maxXOffset ) ; sb . addRaw ( 'pp_miy' , minYOffset ) ; sb . addRaw ( 'pp_may' , maxYOffset ) ; sb . addJson ( 'cx' , 'co' , completeContext ( context ) ) ; resetMaxScrolls ( ) ; var request = getRequest ( sb ) ; sendRequest ( request , configTrackerPause ) ; }
Log that a user is still viewing a given page
 by sending a page ping.
Log that a user is still viewing a given page by sending a page ping .
// 'pp' for Page Ping // Global // Global // Global // Global