Category: Mautic

Mautic Installation Checklist

Usually, when I install Mautic, there is a bit of back and forth with the client to get the information required to get the job done.

This is my list of information that needs to be provided to get Mautic installed and operational in one sitting. Continue reading “Mautic Installation Checklist” ››

Tagging WordPress and Woocomerce Users in Mautic

The official WordPress plugin for Mauitc comes with a number of shortcodes, which makes it easy to add Mautic forms and content into posts and pages.

One of the shortcodes adds the ability to tag (or un-tag) visitors in Mautic depending on the pages they view. This makes it easy to tag visitors dynamically by using the shortcode within theme files.

This can be useful for many reasons. A couple that comes to mind are tagging users with the type of product that they viewed so follow up emails can be sent for similar products, or blog categories so you know which subjects each user is interested in.

The following technique can be used on any website by using the tracking pixel tag, but the following example code is specific to WordPress. Continue reading “Tagging WordPress and Woocomerce Users in Mautic” ››

Using Geocoding API’s to Add Address Information from a Zip to a CSV File

Today I was talking to a musician importing thousands (many many thousands) of contacts into a newly setup Mautic install.

The issue was that the CSV of contacts to import only contained Country Code and Zip columns, making it difficult to target people in certain areas when something is about to happen in that location.

So we set about trying to expand the location information in the file using free online geolocation API’s. Continue reading “Using Geocoding API’s to Add Address Information from a Zip to a CSV File” ››

Fixing Invalid File Type text/x-pascal When Importing Contacts to Mautic

If you get the following error when trying to import contacts into Mautic, it’s likely that the issue is not with the file encoding, but with one of the fields within the file.

Invalid file type “text/x-pascal”. Use a file that matches of of the following mime types: “text/csv”, “text/plain”.

Continue reading “Fixing Invalid File Type text/x-pascal When Importing Contacts to Mautic” ››

Cutting the Size of the Mautic JavaScript Tracking Script

Having used Mautic for a few clients, I decided to install it on my own site, partly for testing and partly to actually use it’s functionality.

Unfortunately, having made an effort to keep my page sizes to a bare minimum, it was depressing to see that the tracking script increased the overall size of my pages by around 50%.

So I took a look at the script to see if it’s size could be cut down.

Continue reading “Cutting the Size of the Mautic JavaScript Tracking Script” ››

Fixing Broken Email Template Images When Running Mautic in a Folder

I first ran into this issue after installing a local copy of Mautic to develop some custom Email templates.

Everything looks fine until you open up the email builder and images added in the Email Twig template don’t show.

The fix is pretty simple if a little counter intuitive.

Continue reading “Fixing Broken Email Template Images When Running Mautic in a Folder” ››