Troubleshooting: Solving Common Issues with Nytro JS Snippet

Troubleshooting: Solving Common Issues with Nytro JS Snippet

If you're experiencing issues with the Nytro JS snippet not working or not being verified, it could be due to interference from third-party speed and optimization plugins or browser-related issues. Follow the guide below to troubleshoot and resolve these common problems.

Common Issues and How to Fix Them

1. Caching Issues by Plugins

Some caching plugins can interfere with the proper functioning of your Nytro JS snippet. If you’re using any of the following plugins, follow the specific instructions to clear the cache and ensure the snippet works correctly.

Common Caching Plugins:

  1. WP Rocket
  2. W3 Total Cache
  3. Autoptimize
  4. LiteSpeed Cache
  5. WP Super Cache
  6. WP Fastest Cache
  7. WP-Optimize - Clean, Compress, Cache
  8. WP Compress Configuration 
  9. BerqWP Caching configuration
  10. RabbitLoader Caching Configuration
  11. Perfmatters Configuration

Steps to Clear Cache:

  1. Access the plugin’s settings from your WordPress dashboard.

  2. Locate the option to clear or purge the cache.

  3. Clear the cache and then refresh your website to see if the issue is resolved.

2. Force Browser to Refresh

Sometimes, the issue might be on the client-side due to browser caching. A forced refresh will ensure the browser fetches the latest version of the webpage.

Keyboard Shortcuts to Force Refresh:

  • Windows: Ctrl + F5

  • Mac/Apple: Apple + R or Cmd + R

  • Linux: F5

3. Browser Cache

Clearing your browser’s cache will force it to fetch the latest version of the website, which can resolve issues related to outdated content.

Instructions to Clear Cache for Popular Browsers:

4. Misplaced Snippet

Correct Placement of the Snippet:

  • Using the Theme Editor: The snippet must be inserted between <head> and </head> tags.

  • Using a Plugin: Ensure that the snippet is set to be placed in the header of your site.

5. Issue with Firewalls

Websites protected by application firewalls may block our crawling attempts. This situation is uncommon and usually can be overcome by creating exclusion rules.

Steps to Resolve:

  • Identify the Firewall: Check if your website is protected by an application firewall.

  • Whitelist Our Crawler: Since we don’t have a static IP address, whitelist our crawler by adding an exclusion rule for the Bot Agent "Mozilla/5.0 (compatible; NSCrawlerBot/1.0; +https://nytroseo.com/)".

  • Clear/purge cache: It is important to clear/purge the cache after making the changes. 

  • Test the Configuration: After whitelisting, test to ensure the Nytro JS snippet is being crawled correctly.