<?php
if( isset($_GET['c']) && !empty($_GET['c']) && isset($_GET['t']) && !empty($_GET['t']) ) {
require("constants.php");
require("PhpMagicPixelTracker.php");
$phpMagicPixelTracker = new PhpMagicPixelTracker();
$campaign_email_uuid = $_GET['c'];
$tracker_code = $_GET['t'];
$phpMagicPixelTracker->verifyAndLogMagicPixelImage($campaign_email_uuid, $tracker_code);
}
else{
// log or print any error or a dummy png . This part would not be logged in the DB
}
|