• Resolved hudsontek

    (@hudsontek)


    I disabled the the link tracking using the snippet below. FluentCRM confirms this in the dash with ‘Email Open tracking is disabled via PHP Hook’ 

    However, after sending a campaign, FluentCRM gives all the stats, link activity and opens. So it appears to not have disabled. Have I missed something?

    add_filter(‘fluentcrm_disable_email_open_tracking’, ‘__return_true’);
    add_filter(‘fluentcrm_track_click’, ‘__return_false’);

Viewing 5 replies - 1 through 5 (of 5 total)
  • Amimul Ihsan

    (@amimulihsanmahdi)

    Hi there,

    It seems like the quotation mark is different on your case which was causing the issue. I have updated the code snippet below:

    add_filter(‘fluentcrm_disable_email_open_tracking’, ‘__return_true’);
    add_filter(‘fluentcrm/track_click’, ‘__return_false’);

    Let us know if this resolves the issue.

    Thank you

    Thread Starter hudsontek

    (@hudsontek)

    Thanks but I cannot see the difference. The quotes look the same to me. Please see the screenshot of the actual snippet …

    View post on imgur.com

    Thread Starter hudsontek

    (@hudsontek)

    OK, I used and ‘_’ instead of ‘/’

    Changed to

    add_filter(‘fluentcrm_disable_email_open_tracking’, ‘__return_true’);
    add_filter(‘fluentcrm/track_click’, ‘__return_false’);

    Hopefully it works now

    Thread Starter hudsontek

    (@hudsontek)

    EDIT: in the docs here (https://fluentcrm.com/docs/useful-code-snippets/) I found this line:

    add_filter('fluent_crm/track_click', '__return_false');

    Whereas your snippet (and mine) is this, without underscore:

    add_filter(‘fluentcrm/track_click’, ‘__return_false’);

    So which one is it?

    Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @hudsontek,

    I’m happy to assist you with disabling link tracking in FluentCRM.

    As you mentioned, the correct filter to disable link tracking is:

    add_filter('fluent_crm/track_click', '__return_false');
    

    Make sure to add this filter to your functions.php file or a custom plugin.

    If you have any further questions or require additional assistance, please don’t hesitate to ask!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disabling link tracking not working’ is closed to new replies.