Last activity 03 Sep 2019 4 2 94
composer require punktde/mautic

This Plugin enables the usage of Marketing Automation Tool Mautic together with Neos CMS.


Release Date
Sep 03, 2019 07:45
MIT 677dc32c427a50cb5df0607070d987f6b21c210e

Neos Mautic Plugin

This Plugin enables the usage of Marketing Automation Tool Mautic together with Neos CMS. Its key features are:

  • Add Mautic Tracking in two easy steps
  • Data Collection via Neos Forms & Neos FormBuilder Forms
  • SEO friendly dynamic content


composer require punktde/mautic 


Configure Mautic

Configure Plugin

Add the following configuration to your site's Settings.yaml

      url: https://mymautic.com
      username: mautic-api

Enable Tracking

  • Ensure you have entered the correct Mautic URL in your configuration.

  • Place Mautic tracking template at the bottom of your <body>:

    mautic = PunktDe.Mautic:MauticTracking

Add this code to every page's fusion file you want to be tracked. If you want to track all pages, add this piece to the Root.fusion or AbstractPage.fusion of your page.

Pass Information from Form to Mautic

Form in yaml format

To pass information from yaml forms to Mautic, you need to define which form elements should be taken into account. Add the following property to those fields:

mauticIdentifier: 'firstname'

Due to a bug in Mautic API, mauticIdentifier must be small case.

You also need to add the following finisher:

identifier: 'PunktDe.Mautic:UpdateUser'

An example form looks like this:

type: 'Neos.Form:Form'
identifier: 'form-identifier'
label: 'Blog comment'
  submitButtonLabel: 'Send'
    type: 'Neos.Form:Page'
    identifier: 'blog-comment'
        type: 'Neos.Form:SingleLineText'
        identifier: 'name'
        label: 'Name'
          mauticIdentifier: 'firstname'
        defaultValue: ''
    identifier: 'PunktDe.Mautic:UpdateUser'

The value of mauticIdentifier must be a defined user field (so called custom field) in Mautic. You can search, edit or create new custom fields to fit your needs.

Form in FormBuilder Format

Forms created by FormBuilder require the editor to enter the Mautic identifier in the Neos backend. This can be achieved by selecting the form element and setting up the value in the settings bar on the right side of your UI.

Due to a bug in Mautic API, mauticIdentifier must be small case.

You must also register the Mautic finisher for this form.

Dynamic Content

You can show a different content dimension to users belonging to different Mautic segments.

  • Create a new segment in Mautic.

  • Define segments in your settings.yaml. Use the same name for your Neos dimensions as well as your mautic segments.

    Neos: ContentRepository: contentDimensions: mautic: label: 'Mautic Segment' icon: 'icon-globe' default: defaultUser defaultPreset: defaultUser presets: all: null defaultUser: label: 'Default User' values: - defaultUser uriSegment: '' twitter: label: twitter values: - twitter uriSegment: twitter

  • You can combine multiple dimensions (e.g. language) without problem.

  • Visit the backend, change the dimension and edit content. Publish it.

Social Media Tracking

It is possible to track users coming from different sources using UTM-Tags. Just add any UTM Tag to your link before you post it on social media:


When a user has UTM-Tags and submit a form, this information will also saved in Mautic.

The content of the readme is provided by Github
The same vendor provides 33 package(s).