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 

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.


    Submit a Ticket

      • Related Articles

      • Installing and Verifying the Nytro SEO JS Snippet on WordPress

        The Nytro SEO JS Optimization Snippet allows for the automatic SEO optimization of your webpage code. To enable this feature, you need to copy and paste the JS snippet into the <HEAD> section of your website. Here’s a detailed guide to help you ...
      • Nytro Crawler Bot

        A bot, also known as a web robot, web spider, or web crawler, is a software application designed to perform repetitive tasks in an automated, structured, and efficient manner. Web crawling, the most common use of bots, involves browsing websites in a ...
      • Installing and Verifying the Nytro SEO JS Snippet on BigCommerce

        1: Locating the JS Snippet Go to the Nytro SEO dashboard. From the left sidebar, select “Websites” ➡️ “Manage.” Click the symbol ‘</>’ to view the JS snippet for your website. Copy the snippet code. Note: If you haven’t added your website yet, check ...
      • Installing and Verifying the Nytro SEO JS Snippet on Wix

        1. How to Add the Snippet Locating the JS Snippet Go to the Nytro SEO dashboard. From the left sidebar, select “Websites” ➡️ “Manage.” Click the symbol ‘</>’ to view the JS snippet for your website. Copy the snippet code. Note: If you haven’t added ...
      • Installing and Verifying the Nytro SEO JS Snippet on Squarespace

        1. How to Add the Snippet Locating the JS Snippet Go to the Nytro SEO dashboard. From the left sidebar, select “Websites” ➡️ “Manage.” Click the symbol ‘</>’ to view the JS snippet for your website. Copy the snippet code. Note: If you haven’t added ...