Adding the NytroSEO Optimization snippet to your website

Adding the NytroSEO Optimization snippet to your website

The NytroSEO JS (Script) Optimization Snippet allows for the automatic SEO optimization of your webpage code. You will need to copy and paste the JS into the <HEAD> of your website.

JS Snippet Setup Guide

Add your website

Firstly, you will need to add a website to your account on system.nytroseo.com . After the Website is added successfully, the JS code is generated automatically and the indication Icon turns green. You can access it via the Website/Manage menu.


View your JS snippet code.

Pressing the green JS code icon, will display the JS Optimization Snippet code. It can be copied easily.


Copy your JS (Script) Snippet code and paste it into your website HEAD <head>

Verify the Installation

Press the button to check if the JS is installed correctly on your website.


Green notice: indicates that the Snippet is installed correctly and is operational.


Read notice: Indicates that the JS Snippet was not identified on your website.



In cases where you have added the JS Snippet to the website HEAD, and it is still not being identified,  it is recommended to clear the Cache of the CMS and try the Verification again.

 


Resolving Third Party Speed Enhancement Plugins (WP Rocket)

Other possible reasons for failure in operations / verification can be processing by third party speed optimization plugins such as WP Rocket Configuration.
Press link for details

How to add your JS code to your website header

There are several options to add the JS Snippet to your website code.

Adding the JS snippet to the website Theme Header (header.php)

Adding the JS code manually to the Theme Header (header.php) section in your websites CMS can be done in several ways… however it is recommended to add it just before the end of the <head> section, using the child theme to prevent lose of any data in case of a theme upgrade.

 

Adding the JS snippet to the Theme Options – Custom code.

Most modern CMS Themes offer the ability to add custom CSS, Analytics and code to the Head of your website using the Them Options. The advantage of using the Theme options is that its relatively simple and it will not be effected/lost in case of Them upgrade.

 

Adding the JS snippet using a dedicated CMS Plugin

Most modern CMS’s offers multiple plugin options that allow you to add custom code to your Headers. Simply install one of these plugins and add the Nytro JS Snippet code in the designated Header space. The main benefits of using a plugin over the manual method is that the plugin makes it easy to add the snippet code to the header and remains unaffected in case of Theme change or upgrade. Simply search for similar Plugins in your CMS.

 

Adding the JS snippet using a Google Tag Manager

The Google Tag Manager (GTM) delivers simple, reliable, easily integrated tag management solutions without editing the website code. The NytroSEO JS snippet can be added to the website using the GTM. This can be done after the GTM code is added to the <head> of the website code.



For further details, please review GTM official website: https://tagmanager.google.com/

 


 

 

 

 

 

 

 

 

 

 



    • Related Articles

    • Adding a Website to your account

      Add Website - NytroSEO Video Tutorial You may add multiple websites to your NytroSEO Account. In this video tutorial, we will show you how to add a new website to your account. Just follow the displayed instructions. Step By Step How to Add your ...
    • Adding Keyword search terms to a Website

      Adding Keywords to a Website This guide provides a detailed walkthrough of adding keyword search terms to the Nytro system for website optimization, rank monitoring, and pre-evaluation of meta-tags effectiveness. You can add Keyword search terms to ...
    • What are the steps and process for optimizing a website with NytroSEO?

      How does the process work? Utilizing advanced AI based technology, NytroSEO automatically and continually optimizes websites code by adding the relevant meta-tags & meta data to each page, based on its content and the optimal Keyword search terms. ...
    • NytroSEO Product Introduction

      NytroSEO Introduction Everyone wants to be on first page positions. SEO techniques are used for improving your websites positions in organic (none paid) search engine results. Search Engine Optimization (SEO) is a set of techniques used for improving ...
    • SETTINGS: Website Automation setup

      Website Settings: Configuration Guide for Nytro SEO Automated Software This guide outlines the process of configuring your website’s main settings using the Nytro SEO Automated Software. Selecting Your Optimization Mode Objective: Choose the most ...