
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
django-email-analytics
Advanced tools
Django Email Analytics adds Google Analytics tracking to emails sent with Django. It provides a wrapper for Django's standard email backends.
Install with pip:
::
pip install django-email-analytics
Then set the email backend in the settings.py file.
::
EMAIL_BACKEND = 'emailanalytics.backends.AnalyticsEmailBackend'
Set EMAIL_ANALYTICS_BACKEND
to the value you previously used for
EMAIL_BACKEND
. Or if EMAIL_BACKEND
was unset, you can leave
EMAIL_ANALYTICS_BACKEND
unset as well. This will chain the email
backends so that django-email-analytics will use your original backend
to send messages.
By default, URLs will be replaced only when the mimetype is text/html
and the URL occurs within a href
attribute.
Set EMAIL_ANALYTICS_REPLACE_TXT
to True
if you would like to
also replace urls occuring in text emails.
If a URL already contains tracking parameters, they are left unchanged.
Otherwise, URLs are tagged with the following parameters:
utm_source
is set to the subject of the emailutm_medium
is set to email
utm_campaign
is set to webapp
See here for a description of the tracking parameters <https://support.google.com/analytics/answer/1033867?rd=2>
__.
FAQs
Adds Google Analytics tracking to emails sent with Django.
We found that django-email-analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.