Mautic
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Mautic Drupal 6.x and 7.x integration module
This Drupal 6 module lets you add the Mautic tracking gif image to your Drupal website and embed Mautic forms in Drupal content.
Installation for Drupal 7
- Download zip package.
- In your Drupal; go to Modules / Install new module.
- Upload the zip package you've downloaded in the step 1.
- Enable Mautic module.
- Configure Mautic module - insert Mautic Base URL. Save Confuguration.
- Go to Structure / Blocks / drag & drop Mautic block to Footer position.
Installation for Drupal 6
- Download zip package.
- Unzip downloaded file to your drupal instance into
sites/all/modules. (read more) - Go to Administer / Site building / Modules
- Mautic Integration module should be at the bottom. Enable it.
- Go to Administer / Mautic and insert Mautic Base URL. Save it.
- Go to Administer / Site building / Blocks and drag & drop Mautic Tracker from Disabled into Footer position. Save blocks.
Mautic Tracking Image
Module will insert 1 px gif image loaded from your Mautic instance. You can check HTML source code (CTRL + U) of your Drupal website to make sure the module works. You should be able to find something like this:
<img src="http://yourmautic.com/mtracking.gif" />
There will be probably longer URL query string at the end of the tracking image URL. It is encoded additional data about the page (title, url, referrer, language).
Form embed
To embed a Mautic form into Drupal content, insert this code snippet:
{mauticform id=ID width=300px height=300px}
ID is the identifier of the Mautic form you want to embed. You can see the ID of the form in the URL of the form detail. For example for www.yourmautic.com/forms/view/1, ID = 1.
