WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Intercom for WordPress

Easy integration of the Intercom CRM and messaging app into your WordPress website.

What on earth is Intercom and what is a CRM?

Take a look at http://intercom.io, they explain it better than I can!

Does this plugin track all visitors to my site?

No, it only tracks logged-in users. The administrator is not tracked.

How do I exclude other user roles from being tracked?

Simply add the hide_from_intercom capability to the user role.

The following example will exclude editors, you should put this code in your theme's functions.php or a plugin:

$role = get_role( 'editor' );
$role->add_cap( 'hide_from_intercom' );

Can I choose the format of the username sent to Intercom?

Yes, you can choose between "Firstname Lastname" or the user's displayname.

Can I send custom data?

Yes, on the options screen you can choose to send the user's role and/or website URL.

Can I add my own custom data?

Yes, there is a filter called ll_intercom_custom_data that you can use to filter the $custom array. For each extra piece of custom data you wish to send, you should add a key => value array element (e.g. Age => 42 ).

Here's an example that sends the user's age based on the value in a usermeta field. This code should be placed in your theme's functions.php file or in a plugin:

add_filter( 'll_intercom_custom_data', 'my_intercom_data' );

function my_intercom_data( $custom ) {

    $user_id = get_current_user_id();

    if ( $age = get_user_meta( $user_id, 'age', true ) ) {
        $custom['Age'] = $age ;
    }

    return $custom;

}

Make sure you read Intercom's custom data documentation.

Can I use my own activator link instead of the default Intercom one?

This plugin uses Intercom's default 'activator', but you can use your own one via the ll_intercom_activator filter.

Here's an example that uses all links with the my-activator class:

add_filter( 'll_intercom_activator', 'my_intercom_activator' );

function my_intercom_activator( $activator ) {

    return '.my-activator';

}

Are Intercom and this plugin secure?

It is highly recommended to enable Intercom's "secure mode". All communications between your website and Intercom will then use a secret key to generate a 'hash' with every request - this prevents users maliciously sending messages as another user.

Does this plugin work on older versions of WordPress or PHP?

Possibly, but I've not tried. I can only provide support if you're using the latest version of this plugin together with the latest version of WordPress and PHP 5.2.4 or newer.

Requires: 3.8 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-23
Downloads: 1,757

Ratings

3 stars
3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1