programmieren:php:programme:email_tracker
Inhaltsverzeichnis
Email Tracker
Simple pixel based email tracker with PHP.
um zu prüfen, ob gesendete Emails auch geöffnet / gelesen wurden, kann man ein hidden Pixel dazu benutzen.
This script allows you to track opens of HTML emails.
How to:
- Set-up a local environment in order to test and run the PHP script.
- Once you've run the script, each time you open the email in your browser your IP address will be logged on the log.txt file.
- When you're satisfied with the script, you can host the script on the server. However don't forget to change the local path of the tracking pixel to the actual URL.
- When properly set-up each time a person opens the email, his IP-address should be logged on the log.txt file.
<img src="tracker.php?image=tracking.gif" alt="">
Replace local path by your URL path
<img src="http://yourpath/tracker.php?image=tracking.gif" alt="">
Useful Tips:
- You can use geo-location services like http://ip-api.com/docs/ to return the actual location of the IP-address.
- Additionally you could use the MAPBOX API to visualize the locations on a map.
Wie das ganze genau funktioniert und den Souce Code dazu gibt es hier:
Webseite:https://github.com/brampauwelyn/php-email-tracker
download Source Code: php-email-tracker-master.zip
programmieren:php:programme (12540 views) · Zuletzt geändert: 20/05/2021 14:09 von conny