Support » Plugin: Intercom for WordPress » Track Referral Source

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Simon Blackbourn


    That is certainly possible to do now with a bit of coding using a filter, but it’s not something I would add to the core plugin.

    You can use the ll_intercom_custom_data filter. See the “Can I add my own custom user attributes?” section in the FAQ.

    You would need to write the code that ascertains the referral source and then return it. Here’s an outline example:

    add_filter( 'll_intercom_custom_data', 'send_referral_source_to_intercom' );
    function send_referral_source_to_intercom( $custom ) {
        $referrer = ** put code here to get the referrer **
        $custom['Referrer'] = $referrer;
        return $custom;

    Thanks for the info, I’ll have to look into getting the referrer code.

    All the best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Track Referral Source’ is closed to new replies.