Skip to content

Latest commit

 

History

20 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 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

关于

Simple email pixel tracking written in Python & Flask

Resources

Stars

32 stars

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages