Interakt.co MailWizz integration

duffhome

Active Member
Hello guys!
I've used this code to integrate Interakt.co App with MailWizz. its working fine. However I just noticed that when this code is inserted on:
[PATH]/apps/customer/views/layouts/main.php


PHP:
<!--New Engagement App--!>
<?php
$name = $email = $timestamp = $phone = $groupName = null;
if ($customer = Yii::app()->customer->getModel()) {
    $name = $customer->fullName;
    $email = $customer->email;
    $timestamp = strtotime($customer->date_added);
    $phone = !empty($customer->company) ? $customer->company->phone : null;
    $groupName = !empty($customer->group) ? $customer->group->name : null;
}
?>
<script>
  (function() {
  var interakt = document.createElement('script');
  interakt.type = 'text/javascript'; interakt.async = true;
  interakt.src = "//cdn.interakt.co/interakt/0d35356539d796ffed0ccd47281ccbad.js";
  var scrpt = document.getElementsByTagName('script')[0];
  scrpt.parentNode.insertBefore(interakt, scrpt);
  })()
</script>

<script>
    window.mySettings = {
        name: '<?php echo $name;?>',
        email: '<?php echo $email;?>',
        created_at: <?php echo (int)$timestamp;?>,
        phoneNum: '<?php echo $phone;?>',
        groupName: '<?php echo $groupName;?>',
        app_id: '0d35356539d796ffed0ccd47281ccbad',
    };
</script>
<!--New Engagement App--!>


I got problem with CKeditor, check this screen. It does not show the editing tools.
3FQ4o8A.png


This is without the code.
LrOokXt.png
 

Radu C

New Member
Hey buddy, I also integrated Interakt in my mailwizz installation but I don't see the customers I have inside the Users of Interakt.
Does it work for you?
 

duffhome

Active Member
[PATH]/apps/customer/views/layouts/main.php

PHP:
<!--New Engagement App--!>
<?php
$name = $email = $timestamp = $phone = $groupName = null;
if ($customer = Yii::app()->customer->getModel()) {
    $name = $customer->fullName;
    $email = $customer->email;
    $timestamp = strtotime($customer->date_added);
    $phone = !empty($customer->company) ? $customer->company->phone : null;
    $groupName = !empty($customer->group) ? $customer->group->name : null;
}
?>
<script>
  (function() {
  var interakt = document.createElement('script');
  interakt.type = 'text/javascript'; interakt.async = true;
  interakt.src = "//cdn.interakt.co/interakt/0d35356539d796ffed0ccd47281ccbad.js";
  var scrpt = document.getElementsByTagName('script')[0];
  scrpt.parentNode.insertBefore(interakt, scrpt);
  })()
</script>

<script>
    window.mySettings = {
        name: '<?php echo $name;?>',
        email: '<?php echo $email;?>',
        created_at: <?php echo (int)$timestamp;?>,
        phoneNum: '<?php echo $phone;?>',
        groupName: '<?php echo $groupName;?>',
        app_id: 'YOURID',
    };
</script>
<!--New Engagement App--!>

It may take some time to so the code gets validated. You will be able to know: Project Settings > Integrate.
"Interakt is successfully integrated with your app/website."
 

Radu C

New Member
Yep, that's what I did. And I created my Interakt account few days ago...but still nothing showing up.
Btw in Project Settings -> URL, what have you included? I putted http://mydomain.com/email/ (because MailWizz is installed in a folder). Tomorrow I will delete this project and create a new one. I noticed Interakt is a little buggy...don't know why.
 

Radu C

New Member
@frm.mwz I like interakt because it's free :))
Tl;dr Interakt offers live chat, user acquisition, user onboarding, in app messaging, (some sort of) email automation.

But to be honest I would choose intercom.com. More or less they offer the same services, but I think intercom is more professional than interakt. I think interakt was recently launched and they are still working on it (I noticed some bugs). But for beginning with a customer engagement platform, interakt is the good choice!
Interakt offers live chat, in app messages (and in app live chat), in-app notifications, help desk, FAQ and, the most important, a kind of CRM where it imports the users from your mailwizz installation and displays their activity (login, sessions etc) and you can set automatic emails for them :)

I would also consider webengage.com, maybe I will test it too.
 

frm.mwz

Well-Known Member
@frm.mwz I like interakt because it's free :))
Tl;dr Interakt offers live chat, user acquisition, user onboarding, in app messaging, (some sort of) email automation.

But to be honest I would choose intercom.com. More or less they offer the same services, but I think intercom is more professional than interakt. I think interakt was recently launched and they are still working on it (I noticed some bugs). But for beginning with a customer engagement platform, interakt is the good choice!
Interakt offers live chat, in app messages (and in app live chat), in-app notifications, help desk, FAQ and, the most important, a kind of CRM where it imports the users from your mailwizz installation and displays their activity (login, sessions etc) and you can set automatic emails for them :)

I would also consider webengage.com, maybe I will test it too.
nice one, thx for sharing tips & experience ;)

PS: a link to this post and more integration tools are here
https://forum.mailwizz.com/threads/integration-with-other-programs.2335
 

duffhome

Active Member
@frm.mwz basically exactly what @Radu C said. because its free, its great for customers support chat/ticket plus its helps tracking users,

like @Radu C said its seems that they're recently launched. intercom, costumers.io are better. but overall its not bad. :))
 
Top