Gmail Plugin for Mautic
This plugin allows for the Mautic Helper Chrome Extension to keep track of emails sent to leads from within Gmail.
Requirements
- Mautic installed on a publicly accessible URL.
- Gmail account (for email tracking).
- Mautic Helper Chrome Extension
Configure the plugin
Install the Mautic plugin as usual. It will appear on the plugins page in Mautic.
Click on the Gmail plugin button and enter a secret or key to validate the Mautic Helper Chrome Extension
Install the Mautic Helper Chrome Extension from the Chrome Web Store
Configure the extension using the options page that will automatically be displayed. (Remember to use the same secret you entered in Mautic)
On the Chrome browser there will be a button that will notify of new events on the contacts timeline.
To track an email sent to a lead, click the Track Email button on the Compose window in Gmail
This will append a tracking GIF to the email with the following syntax: [[MAUTIC_URL]]/index.php/gmail/tracking.gif?d=H4sIAAAAAAAEAIVRTW%2FCMAz9LRyCtgNVlFBpHHroWsRuk8ak7RpaUzqaGCUp0H8%2Fpy0TH4dJUZy892w921uLOvkCa8BGK2WLWi2dt6pUbM7PYPEcFainoFXdJKdBVvUy4quA9rxrNz9Q%2BCQ16HdgmeAenKewpfIU3lvfIO6nGyy75HNXO8LQAN3984R2X5tqMpkwnjOejrfg19%2FBJIHBJsskS3M1MOvOedChUA5HaPBAsp54a7UyBH%2BAw9YWECRrsMc6PHvFd2iR0NfW1QbcjUDwMjhctYqqq0YxkQU6SqMhNxi85GeoD8p0134zaBom%2By4ezlPMxTPFeCH5TLzI%2BdgizeEu5aIUQixmIubjSG5WAY8bC8kyC%2FvxSBX%2Flcvl3bT%2Fvr8k1oBgIQIAAA%3D%3D&sig=cf078d5b
The Mautic plugin will then validate the information using the secret to compare signatures and then attach that email to the contact’s profile as part of their activity history. If the lead or leads don't exist, they are created automatically
URL Parameter Length Issue
; Please note that PHP setups with the suhosin patch installed will have a
; default limit of 512 characters for get parameters. Although bad practice,
; most browsers (including IE) supports URLs up to around 2000 characters,
; while Apache has a default of 8000.
; To add support for long parameters with suhosin add the following to php.ini
suhosin.get.max_value_length = 5000