Skip to content

sethblack/python-flask-pixel-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-flask-pixel-tracking

Email pixel tracking using Flask, MongoDB, Redis and Celery.

Install redis, mongo, and python-virtualenv

apt-get install redis-server mongodb python-virtualenv

Optionally install python-dev for some tools

apt-get install python-dev

Setup pip requirements

pip install -r requirements.txt

Launching Flask

python pfpt/main.py

Launching Celery

celery -A pfpt.main.celery worker --loglevel=INFO --concurrency=1

Usage

GET http://hostname/api/generate-pixel?to=[]&from=[]&subject=[]

this will return an id that you pass to:

http://hostname/pixel.gif?sh=(id)

which should be embedded as an image in your email

About

Simple email pixel tracking written in Python & Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published