Release Notes

Start collecting lead information with Mautic tracking pixel.

  • Gerard,Thanks for developing Mautic plugin for elgg, Some few months ago I started to work Mautic with Gutwa Ads management system https://elgg.org/plugins/1609647 but got busy with other things in life. Hope to go back on it soon and finish the integration so that Elgg Site owners can use this wonderful tools to understand their audience, listen to them,and build a lasting relationship while serving targeted ads and campaign to overcome the challenges of modern marketing that new Elgg users face.

  • Good to hear Tom. I will take a closer look into your plugin. Integration with ADS management would be really cool from a Mautic point of view. One should indeed be able to personalize ADS based on what you already know from that user. Mautic can gather and profile the user.

  • Gerard, The Mautic profile information about the user can make it More Precise & Easier to target users with ads generated by Gutwa Ads Management system automatically when the Elgg users will be searching on Elgg site, watching videos on Elgg site or checking email on Elgg site.

  • Thanks Gerard.
    I never hear of Mautic, but I see the huge advantages of it. 
    It seems like a great tool

  • @gerard maybe a little hint: mautic collect only anonymous leads till you set the specific lead-fields (e.g. "email") in Mautic to "Publicly updateable". Also it is important to add the custom fields "location" and "guid" if you wish to track these datas. Perhaps this was due to our local installation where a) we do not prepare mautic with user-datas and b) user access to the system with a single IP (Intranet).

  • @gerard, a small suggestion:

    1. The variable $var['title'] is always empty. Maybe it is better to use the context as title?

    2. Maybe it is better to use the php-style for a more anonymous tracking code?

    The script /views/default/mautic/mautic.php could look like that:

    <?php
    //Mautic programmatic marketing
    
    if($user = elgg_get_logged_in_user_entity()) {
    
        $url = elgg_get_plugin_setting("mautic_url","mautic");
        
        if(!$title =  elgg_echo(elgg_get_context())) {
            $title = $vars['config']->sitename;
        }
    
        //  user name
        $name = explode(" ", $user->name, 2);
        $firstname = trim($name[0]);
        $lastname = trim($name[1]);
        
        $d = urlencode(base64_encode(serialize(array(
            'page_url'   => 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
            'page_title' => $title,
            'email' => $user->email,
            'firstname' => $firstname,
            'lastname' => $lastname,
            'guid' => $user->guid
        ))));
    
        echo '<img src="'.$url.'/mtracking.gif?d=' . $d . '" style="display: none;" />';
    
    }
    
    ?>

Stats

  • Category: Third Party integrations
  • License: GNU Lesser General Public License (LGPL) version 2.1
  • Updated: 2018-2-5
  • Downloads: 434
  • Recommendations: 3

Other Projects

View Gerard's plugins