punktde/mautic
Composer 安装命令:
composer require punktde/mautic
包简介
This Plugin enables the usage of Marketing Automation Tool Mautic together with Neos CMS.
README 文档
README
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
- Visit your Mautic installation and create a user for API.
- Enable API and HTTP basic auth. Optional: Be sure your Mautic installation is running on HTTPS for the sake of security.
- Skip this, if your website and Mautic are running on the same server:
- Enable CORS, add your site to
valid domains.
- Enable CORS, add your site to
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.
-
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.
punktde/mautic 适用场景与选型建议
punktde/mautic 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 95 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 08 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 punktde/mautic 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 punktde/mautic 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-30

