protocol Google analytics tracking code need to be
tailored in pixelTracking.php for secure access.
EXAMPLE:
Code: Select all
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') {
echo '<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script>';
} else {
echo '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>';
}