punktde/mautic

Last activity on 9 September 2019
  • 4
  • 2
  • 93
composer require punktde/mautic

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

1.0.1

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

Version
1.0.1
Type
neos-package
Release Date
03.09.2019 07:45:09
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
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

Installation

composer require punktde/mautic 

Configuration

Configure Mautic

Configure Plugin

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

PunktDe:
  Mautic:
    mauticServer:
      url: https://mymautic.com
    mauticUser:
      username: mautic-api
      password: 

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'
renderingOptions:
  submitButtonLabel: 'Send'
renderables:
  -
    type: 'Neos.Form:Page'
    identifier: 'blog-comment'
    renderables:
      -
        type: 'Neos.Form:SingleLineText'
        identifier: 'name'
        label: 'Name'
        properties:
          mauticIdentifier: 'firstname'
        defaultValue: ''
finishers:
  -
    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:

https://punkt.de/blog/post?utm-source=AnySourceName

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 30 package(s).