Advantages of Using Asynchronous Tracking with the Post Affiliate Pro WordPress Plugin

Advantages of Using Asynchronous Tracking with the Post Affiliate Pro WordPress Plugin

Problem definition

WordPress websites increasingly rely on caching and optimization plugins like WP Rocket, Autoptimize, and others to improve loading speed. However, these plugins can sometimes interfere with affiliate tracking scripts, causing missed clicks or conversions. Post Affiliate Pro addresses this by offering an option for asynchronous tracking directly in its WordPress integration.

Asynchronous tracking loads the affiliate tracking script in parallel with your page content, rather than waiting for the script to finish before rendering the rest of the site. This FAQ explains the benefits and use cases for enabling this feature.

WordPress logo with an illustration of a fast, parallel blue tracking path alongside a previously problematic grey path, converging forward

How asynchronous tracking improves reliability with Post Affiliate Pro

Many caching and optimization plugins add “defer” or “async” attributes to all scripts, or combine/minify them for speed. This can break the sequence required for accurate tracking. When you enable asynchronous tracking in the Post Affiliate Pro WordPress plugin, these issues are avoided:

  • The tracking code loads independently, so even if WP Rocket or similar plugins are active, clicks and sales are consistently recorded.
  • Support feedback confirms that, in real-world use, enabling asynchronous tracking has solved click-tracking failures caused by optimization plugins.

Troubleshooting: When to use asynchronous tracking

You should enable asynchronous tracking if:

  • Affiliate clicks or sales are not always tracked, especially after installing or updating caching plugins.
  • Your site uses WP Rocket, Autoptimize, LiteSpeed Cache, or similar tools that optimize JavaScript.
  • You want to maximize the chance that every valid affiliate action is recorded, without sacrificing site performance.

To enable:
Go to your WordPress admin panel → Post Affiliate Pro plugin settings → General tab → Tick “Use asynchronous tracking where possible” → Save.

Best Practices for Reliable Affiliate Tracking with Post Affiliate Pro

  • Always enable asynchronous tracking if you use any caching/optimization plugin.
  • Avoid using words like “affiliate” or “track” in the custom domain for your tracking scripts, as these can be blocked by adblockers.
  • Test tracking after changes by clicking an affiliate link and confirming the click is registered in your Post Affiliate Pro panel.

How does asynchronous tracking affect affiliate tracking accuracy?

Asynchronous tracking ensures scripts are loaded quickly and independently, minimizing issues caused by slow or blocked scripts. While there is a small risk of missing a tracking event if a visitor leaves the page before the script loads, this is rare—and the overall reliability is much higher compared to standard synchronous tracking, especially on optimized WordPress sites.

Additional tips: Optimizing asynchronous tracking usage

  • Enable asynchronous tracking for regular tracking events to maximize performance and reliability.
  • Always verify tracking after enabling or updating caching plugins.
  • Check your tracking script’s unique file name and ID when making exclusions in caching plugins to further safeguard tracking accuracy.

Step-by-step guide to enabling asynchronous tracking in WordPress

  1. Open your WordPress admin dashboard.
  2. Go to “Settings” → “Post Affiliate Pro”.
  3. Find the “General” or “Integration” tab.
  4. Locate the “Use asynchronous tracking where possible” option.
  5. Tick the checkbox and click “Save”.
  6. Test affiliate clicks and conversions to ensure tracking is working as expected.

By following these steps and enabling asynchronous tracking, you help guarantee that your affiliate program records every possible action while keeping your WordPress site fast and reliable.

Learn more

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface