numero2 / contao-marketing-suite
The package adds marketing functionalities to Contao. The Contao Marketing Suite enables dynamic playout of content to provide visitors with relevant information. Furthermore there is A/B test, SEO support, text creation tools, own tracking for links and forms. In addition, a button generator, a con
Installs: 28 912
Dependents: 0
Suggesters: 2
Security: 0
Stars: 9
Watchers: 5
Forks: 3
Type:contao-bundle
Requires
- contao/core-bundle: ^5.3
- doctrine/dbal: ^3.6
- jeremykendall/php-domain-parser: ^6.3
- org_heigl/hyphenator: ^2.3
- psr/log: ^1.1 || 2.0 || ^3.0
- symfony-cmf/routing: ^3.0
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/event-dispatcher: ^6.4 || ^7.0
- symfony/filesystem: ^6.4 || ^7.0
- symfony/http-client: ^6.4 || ^7.0
- symfony/http-client-contracts: ^3.1
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/routing: ^6.4 || ^7.0
- symfony/security-bundle: ^6.4 || ^7.0
- twig/twig: ^3.10
- ua-parser/uap-php: ^3.9
Requires (Dev)
Suggests
- avalexgmbh/contao: For use of avalex privacy policy
- numero2/contao-opengraph3: For OpenGraph integration
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
- dev-master
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-contao4
This package is auto-updated.
Last update: 2024-11-18 07:47:49 UTC
README
About
The package adds marketing functionalities to Contao. The Contao Marketing Suite enables dynamic playout of content to provide visitors with relevant information. Furthermore there is A/B testing, SEO support, text creation tools, custom tracking for links and forms. In addition, a button generator, a configurable cookie bar (already compliant with EU privacy) and many other marketing functions for professional marketing with Contao.
Insert Tags
For Developers
Helper Functions for Cookie Consent
For Developers the Marketing Suite provides some helper functions in order to integrate the cookie consent handling into your own extensions.
These functions will check if the tag, given by its id, has been accepted by the visitor. The function also take care if the tag itself is actually set active or not.
For example in a html5
template you can use it like this:
<?php if( \numero2\MarketingSuite\Helper\Tag::isAccepted(6) ): ?> <!-- YOUR CONTENT IF ACCEPTED --> <?php endif; ?> <?php if( \numero2\MarketingSuite\Helper\Tag::isNotAccepted(6) ): ?> <!-- YOUR CONTENT IF NOT ACCEPTED --> <?php endif; ?>
We also provide a twig function to be used inside twig
templates like this:
{% if cms_tag_accepted(6) %} <!-- YOUR CONTENT IF ACCEPTED --> {% endif %} {% if cms_tag_not_accepted(6) %} <!-- YOUR CONTENT IF NOT ACCEPTED --> {% endif %}
Header to disable tracking
Certain elements in the Marketing Suite can be tracked (like a click on a CTA or the view of an element). In case you want to prevent certain requests from actually tracking something the Suite provides a special HTTP header called X-CMS-DNT
. If this header is present the tracking will be disabled for this request.
System requirements
- Contao 5.3 (or newer)
- Contao 4.x is only supported up to Marketing Suite version 2.1.5
Installation
- See contao-marketingsuite.com for details.