django-ptrack
django-ptrack copied to clipboard
how to use it with emails?
Hi
Can you add some more information in the readme about how to use it for emails? If I understand correctly, I can do something like:
from ptrack.templatetags.ptrack import ptrack
img_tag = ptrack(key1='aaa',key2='ccc')
and then I can add the img_tag to the email body. Is there a different way to do that?
Are you using Django templates to render your emails? If so you can use the same instructions as the readme describes here: https://github.com/indeedeng/django-ptrack#using-ptrack