PHPackages                             numero2/contao-marketing-suite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. numero2/contao-marketing-suite

ActiveContao-bundle

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 configurable cookie bar (already compliant with EU privacy) and many other marketing functions for professional marketing with Contao.

3.1.1(3mo ago)732.2k↓50%4proprietaryPHP

Since Dec 5Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/numero2/contao-marketing-suite)[ Packagist](https://packagist.org/packages/numero2/contao-marketing-suite)[ Docs](https://contao-marketingsuite.com/)[ RSS](/packages/numero2-contao-marketing-suite/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (73)Used By (0)

Contao Marketing Suite
======================

[](#contao-marketing-suite)

[![](https://camo.githubusercontent.com/f51171d4be22baec5287e44d10a3fd832435dd4a56b08f07538e6c33e8c49737/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756d65726f322f636f6e74616f2d6d61726b6574696e672d73756974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/numero2/contao-marketing-suite) [![](https://camo.githubusercontent.com/15c58f4f13e59a590dca30fd6c90bf755a3984cc085e75442e857aa1b1d63a43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d636f6d6d65726369616c2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/15c58f4f13e59a590dca30fd6c90bf755a3984cc085e75442e857aa1b1d63a43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d636f6d6d65726369616c2d626c75652e7376673f7374796c653d666c61742d737175617265)

Warning

For technical reasons, the Contao Marketing Suite does not support Twig-based layouts (e.g. Twig layouts with slots). Please use standard page layouts to ensure compatibility.

About
-----

[](#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
-----------

[](#insert-tags)

TagDescription`{{cms_optinlink}}`Creates a link that redisplays the cookie consent dialog so that the user can agree to the use of the necessary group. After consent, the browser window will automatically scroll to the original element.`{{ifoptin::*}}`This tag is completely removed if the corresponding element was not approved. The parameter here is the ID of the tag (e.g. Google Analytics). This way, content in templates can be played depending on whether the user has agreed to the use of a certain tag. `{{ifoptin::1}}Has agreed{{ifoptin}}``{{ifnoptin::*}}`This tag will be removed completely if the corresponding element has been approved. The parameter here is the ID of the tag (e.g. Google Analytics). This way, content in templates can be played depending on whether the user has not agreed to the use of a particular tag. `{{ifnoptin::1}}Did not agree{{ifnoptin}}`For Developers
--------------

[](#for-developers)

### Helper Functions for Cookie Consent

[](#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:

```

```

We also provide a twig function to be used inside `twig` templates like this:

```
{% if cms_tag_accepted(6) %}

{% endif %}
{% if cms_tag_not_accepted(6) %}

{% endif %}
```

### Header to disable tracking

[](#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
-------------------

[](#system-requirements)

- [Contao 5.3](https://github.com/contao/contao) (or newer)
- [Contao 4.x](https://github.com/contao/contao) is only supported up to Marketing Suite version [2.1.5](https://github.com/numero2/contao-marketing-suite/releases/tag/2.1.5)

Installation
------------

[](#installation)

- See [contao-marketingsuite.com](https://contao-marketingsuite.com) for details.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 97.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~27 days

Total

71

Last Release

113d ago

Major Versions

0.1.5 → 1.0.02019-07-15

1.0.36 → 2.0.02022-02-18

2.1.5 → 3.0.02024-06-24

2.1.6 → 3.0.12024-07-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab9bf091a6e23befeea4ccbf34fcfb0da22a14f6ec94df20664e7b149fd4ed74?d=identicon)[numero2](/maintainers/numero2)

---

Top Contributors

[![bennyborn](https://avatars.githubusercontent.com/u/226890?v=4)](https://github.com/bennyborn "bennyborn (85 commits)")[![michb](https://avatars.githubusercontent.com/u/17873830?v=4)](https://github.com/michb "michb (2 commits)")

---

Tags

ab-testingcontaocookie-consentleadsmarketingcontaocookiemarketingseogdprconsentdsgvocookieconsentopt incookiebar

### Embed Badge

![Health badge](/badges/numero2-contao-marketing-suite/health.svg)

```
[![Health](https://phpackages.com/badges/numero2-contao-marketing-suite/health.svg)](https://phpackages.com/packages/numero2-contao-marketing-suite)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
