
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
djangocms-call-to-action
Advanced tools
This djangocms plugin allows you to create Call To Action (CTA) indicators, to display them as buttons in a Django CMS plugin, to track user click on these buttons on a GA conversion tunnel. Each CTA is linked with a fobi form which registers the user email in a given mailing list.
A djangocms plugin that allows you to create Call To Action (CTA) indicators, to display them as buttons in a Django CMS plugin, to track user click on these buttons on a GA conversion tunnel. Each CTA is linked with a fobi form which registers the user email in a given mailing list.
This project is a WIP and might need some improvements.
This plugin requires Django-CMS
, sendgrid
, django-fobi
.
pipenv install djangocms-call-to-action
pip install djangocms-call-to-action
"djangocms_call_to_action",
py manage.py migrate djangocms_call_to_action
DJANGOCMS_CTA_SENDGRID_API_KEY = "YOUR_API_KEY"
import os
DJANGOCMS_CTA_SENDGRID_API_KEY = os.getenv("SENDGRID_API_KEY", None)
DJANGOCMS_CTA_GA_UA = "UA-*******-*"
import os
DJANGOCMS_CTA_GA_UA = os.getenv("GA_UA", None)
MIDDLEWARE = (
"djangocms_call_to_action.middleware.CTAFobiFormWidgetRedirectMiddleware",
...
"cms.middleware.page.CurrentPageMiddleware",
...
"djangocms_call_to_action.middleware.CTAPagePermissionMiddleware",
)
djangocms_call_to_action.urls
to your urls: urlpatterns = [
...
path("cta/", include("djangocms_call_to_action.urls")),
...
re_path("^", include("cms.urls")),
]
from django.utils.translation import ugettext_lazy as _
DJANGOCMS_CTA_TEMPLATES = (("default.html", _("Link")), ("button_primary.html", _("Button primary")), ("button_secondary.html", _("Button secondary")),)
DJANGOCMS_CTA_USE_SELECT2 = True
DJANGOCMS_CTA_DISPLAYED_USER_GA_LABEL = "Affiché"
DJANGOCMS_CTA_CLICKED_USER_GA_LABEL = "Cliqué"
DJANGOCMS_CTA_CONVERTED_USER_GA_LABEL = "Converti"
DJANGOCMS_CTA_DENY_PAGES_IDS_CACHE_DURATION = 24 * 60 * 60 # Cache for 24h
In order to work properly with sendgrid registration, the form must contains the following fields: - First name - Last name - Email - An opt-in checkbox to consent the user email registration on sendgrid list
Add the sendgrid handler to register the email address of the user into
Create a CMS page to display the fobi form into
Insert the fobi form into the new page, using the CMS plugin "Call to Action"
On the django admin, create a Campaign linked with the CMS page created on step 4. Choose where the user will be redirected on form validation:
You can choose to deny the access to the page if the form was not validated by the user.
FAQs
This djangocms plugin allows you to create Call To Action (CTA) indicators, to display them as buttons in a Django CMS plugin, to track user click on these buttons on a GA conversion tunnel. Each CTA is linked with a fobi form which registers the user email in a given mailing list.
We found that djangocms-call-to-action 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.