I am trying to implement a custom tracking pixel for emails sent from Wordpress.
Thanks to this post:
Email Tracking with PHP and Image
Email Tracking Starts with a Real Image
and especially
http://www.phpdevtips.com/2013/06/email-open-tracking-with-php-and-mysql/
I was able to realize the main idea.
Email downloads tracking pixel via <img src="https://www.example.com/tracking.php?order_id=1" width="100" height="100" />
and in tracking.php file
$graphic_http = 'https://www.example.com/GIF-example.gif';
header('Content-Type: image/gif');
readfile( $graphic_http );
Opening the tracking.php file in a browser opens a gif image for download.
However, the tracking / tracking image does not appear in Gmail email. There is only a broken image logo, and when I click to show the image, this link is open
https://ci5.googleusercontent.com/proxy/l2xUKFGnNFKm64zEYmJhOcUmEJm15w9MC1txRRF01tpKlcL3t3O16aMJgbYQkucBySV0xV2T0EsCwikOAC0Z4em6uPzSs38lkHrYBvosRRAk14EfPoEXqC5JdLxRm8ToZmGSQqt_RwHCaBE_3uLgQDVEB05Rdtkq-Xzuw30=s0-d-e1-ft#https://www.example.com/tracking.php?order_id=1
Google 404:
Google 404. .
URL//l2xUKFGnNFKm64zEYmJhOcUmEJm15w9MC1txRRF01tpKlcL3t3O16aMJgbYQkucBySV0xV2T0EsCwikOAC0Z4em6uPzSs38lkHrYBvosRRAk14EfPoEXqC5JdLxRm8ToZmGSQqt_RwHCaBE_3uLgQDVEB05Rdtkq-Xzuw30 = s0--1- . , .
, , - Google php script. tracking.php GIF-example.gif 775 .
Hotmail , , , Google Proxies.
- , Google Proxies ?