Title: Disabling link tracking not working
Last modified: March 22, 2024

---

# Disabling link tracking not working

 *  Resolved [hudsontek](https://wordpress.org/support/users/hudsontek/)
 * (@hudsontek)
 * [2 years ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/)
 * 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](https://wordpress.org/support/users/amimulihsanmahdi/)
 * (@amimulihsanmahdi)
 * [2 years ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17544494)
 * 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](https://wordpress.org/support/users/hudsontek/)
 * (@hudsontek)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17723970)
 * 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](https://imgur.com/EwCwVpQ)
 *  Thread Starter [hudsontek](https://wordpress.org/support/users/hudsontek/)
 * (@hudsontek)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17723987)
 * 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](https://wordpress.org/support/users/hudsontek/)
 * (@hudsontek)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17724006)
 * EDIT: in the docs here ([https://fluentcrm.com/docs/useful-code-snippets/](https://fluentcrm.com/docs/useful-code-snippets/))
   I found this line:
 *     ```wp-block-code
       add_filter('fluent_crm/track_click', '__return_false');
       ```
   
 * Whereas your snippet (and mine) is this, without underscore:
 *     ```wp-block-code
       add_filter(‘fluentcrm/track_click’, ‘__return_false’);
       ```
   
 * So which one is it?
 *  Plugin Support [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * (@ibrahimsharif)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17794486)
 * Hello [@hudsontek](https://wordpress.org/support/users/hudsontek/),
 * I’m happy to assist you with disabling link tracking in FluentCRM.
 * As you mentioned, the correct filter to disable link tracking is:
 *     ```wp-block-code
       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.

 * ![](https://ps.w.org/fluent-crm/assets/icon.svg?rev=2390407)
 * [FluentCRM - Email Newsletter, Automation, Email Marketing, Email Campaigns, Optins, Leads, and CRM Solution](https://wordpress.org/plugins/fluent-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-crm/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Ibrahim Sharif](https://wordpress.org/support/users/ibrahimsharif/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/disabling-link-tracking-not-working/#post-17794486)
 * Status: resolved