Created
January 12, 2015 13:17
-
-
Save joubertredrat/6b49b07ed460074091a1 to your computer and use it in GitHub Desktop.
Owa test tracking by image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Example usage: <img src="http://owa.yourdomain.com/owa_tracker.php?id=6f2a0582ec2512421a91b2ce26164c3b" alt="owa tracker"> | |
*/ | |
if (isset($_GET['id'])) | |
{ | |
require_once(__DIR__.'owa_php.php'); | |
$owa = new owa_php(); | |
$owa->setSiteId($_GET['id']); | |
// Uncomment the next line to set your page title | |
//$owa->setPageTitle('somepagetitle'); | |
// Set other page properties | |
//$owa->setProperty('foo', 'bar'); | |
$owa->trackPageView(); | |
} | |
header('Content-type: image/png'); | |
readfile('blank.png'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment