You are here

README.txt in Mautic Integration 8

Module: Mautic
Author: jarodriguez <https://www.drupal.org/user/1551452>


Description
===========
Adds the Mautic tracking system to your website.

Requirements
============

* A instante of Mautic or a user account in http://www.mautic.org


Installation
============
Copy the 'mautic' module directory in to your Drupal 'modules'
directory as usual.


Usage
=====
In the settings page enter the URL of your mtc.js script.

All pages will now have the required JavaScript added to the
HTML header can confirm this by viewing the page source from
your browser.

Acquia Personalization integration
=======================
This module can automatically send the user's Personalization data into Mautic **IF** you create the [custom fields](https://docs.mautic.org/en/contacts/manage-custom-fields "custom fields") for the data to be added to your contacts.

Please note that the below machine names (like lift_segments) are the *alias* for the custom field. The label can be anything you like. Add any or all of these fields to get access to the data as part of the Mautic contact:
#### site_url
Adds the current site url to the contact. Very useful for creating links and return urls that are dynamic with a user token instead of hardcoded.
*eg. http s://{contactfield=site_url}/formreturn/thank-you*

#### lift_segments
Adds the user's segments as a comma separated list to the contact. This is updated on each page load, so it reflects that last time the user hit the site. VERY handy for creating Mautic segments so you can initiate actions and campaigns based on Lift's decision engine.
*eg. new_customer,order_in_past_week,from_instagram*

#### lift_account
Adds the lift account id to the user's contact. This may be useful for tracking and testing purposes.

File

README.txt
View source
  1. Module: Mautic
  2. Author: jarodriguez
  3. Description
  4. ===========
  5. Adds the Mautic tracking system to your website.
  6. Requirements
  7. ============
  8. * A instante of Mautic or a user account in http://www.mautic.org
  9. Installation
  10. ============
  11. Copy the 'mautic' module directory in to your Drupal 'modules'
  12. directory as usual.
  13. Usage
  14. =====
  15. In the settings page enter the URL of your mtc.js script.
  16. All pages will now have the required JavaScript added to the
  17. HTML header can confirm this by viewing the page source from
  18. your browser.
  19. Acquia Personalization integration
  20. =======================
  21. This module can automatically send the user's Personalization data into Mautic **IF** you create the [custom fields](https://docs.mautic.org/en/contacts/manage-custom-fields "custom fields") for the data to be added to your contacts.
  22. Please note that the below machine names (like lift_segments) are the *alias* for the custom field. The label can be anything you like. Add any or all of these fields to get access to the data as part of the Mautic contact:
  23. #### site_url
  24. Adds the current site url to the contact. Very useful for creating links and return urls that are dynamic with a user token instead of hardcoded.
  25. *eg. http s://{contactfield=site_url}/formreturn/thank-you*
  26. #### lift_segments
  27. Adds the user's segments as a comma separated list to the contact. This is updated on each page load, so it reflects that last time the user hit the site. VERY handy for creating Mautic segments so you can initiate actions and campaigns based on Lift's decision engine.
  28. *eg. new_customer,order_in_past_week,from_instagram*
  29. #### lift_account
  30. Adds the lift account id to the user's contact. This may be useful for tracking and testing purposes.