PUM_Analytics::serve_pixel()
Creates and returns a 1×1 tracking gif to the browser.
Description Description
Source Source
File: classes/Analytics.php
public static function serve_pixel() { $gif = self::get_file( Popup_Maker::$DIR . 'assets/images/beacon.gif' ); header( 'Content-Type: image/gif' ); header( 'Content-Length: ' . strlen( $gif ) ); exit( $gif ); }
Expand full source code Collapse full source code View on Trac