Category: Mautic

How to Send Custom Attributes with the Official Mautic WordPress Plugin

In a previous post, I looked at sending WordPress user information to Mautic using the new plugin options. Around the same time that the user information option was added, a filter was also introduced which allows you to send custom parameters.

In this post, I’m going to show an example of sending a custom attribute to update the preferred locale contact field with information from WPML

Continue reading “How to Send Custom Attributes with the Official Mautic WordPress Plugin” ››

Tracking Known WordPress Users in Mautic with the Official Mautic Plugin

A new option was recently added to the official Mautic WordPress plugin (Version 2.1.0), but it won’t do anything out of the box.

Here’s how to set it up to track extra information from your logged-in users.

Continue reading “Tracking Known WordPress Users in Mautic with the Official Mautic Plugin” ››

Serverpilot Cron Jobs For Mautic

If you have used Serverpilot to set up your server intending to host Mautic then here is how to add the cron jobs to keep everything running. Continue reading “Serverpilot Cron Jobs For Mautic” ››

Creating a Mautic Email Theme Using Foundation for Emails

On first glance, the blank Mautic theme looks like the perfect starting point for a simple HTML email, you just drag and drop the elements that you need into the layouts, add your images and text, select some colours and it’s done.

Unfortunately, after testing the resulting emails in different email clients and web apps the results weren’t totally as expected and Outlook (Of course) was all over the place.

Having seen issues with other default themes in certain places I didn’t want to start with a copy of another theme that I might need to end up fixing so I went on the look for a better way to do things.

Enter Foundation for Emails. Continue reading “Creating a Mautic Email Theme Using Foundation for Emails” ››

Adding Woocomerce Bought Product Tags to Mautic Users

This is a follow-up to the original post about adding Mautic tags to users based on what they view on your site.

In this post, I’m going to add (or remove) tags after check out, based on the products that the user bought. Continue reading “Adding Woocomerce Bought Product Tags to Mautic Users” ››

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” ››