It only takes one line of code on your website for InLinks to save you hundreds of hours on tasks that few web owners ever have time to carry out. Adding the code is the single most important step in the on-boarding process. This page talks about how to add the code and sets out to our strict policies on what we can and cannot do with the code
The short version
On registering, you will be given one line of code, which we recommend is placed in the footer section of your website, so that the line of code runs on any page that loads on your site. The script will look something like this:
This page covers
- Reasons for adding the code
- How to install the code
- How to check the code
- Troubleshooting when we cannot see the code
- WP Rocket Plugin in WordPress
- Using Google Tag Manager to install the code
- Security issues and Improving security
Reasons to add the code
The code helps InLinks to manage internal links on your site and add Schema to your web pages.
- It does NOT collect any personal data (not even the IP numbers) of any users. You should not need to update any GDPR or privacy policies.
- It will not create links OUT of your website. If (in the future) this is a requested feature, every out-link would be entered by the user.
- It will NOT slow down your site. The latency on the code is extremely low.
- It only requires the same 1 line of JS code on every page.
- No server-side slow down as js is rendered by the browser. your site might get FASTER.
- Very little latency
- Links are integrated
intext paragraphs. Your navigation bars will not be affected.
- Internal Links are created without further code, the anchors use exact match, synonyms & sentence fragments.
- Internal linking & Schema is fully interpreted by Google
At any time, you will be able to see the code that is executed.
Where to find the code
If the onboarding has not been completed, you may find the code on logging into your account and selecting the project for your domain. Otherwise, the code will be on the “links” tab.
Installing inLinks on WordPress
If you are not a coder (or even if you are!), then you may be using WordPress to run your website. If you do, then there are many ways to add the code. For example, install the “Insert Headers and Footers” plugin or the “Header and Footer Scripts” plugin and add the code in the footer section there. You do this by:
- Logging into your blog via the /wp-admin
- Select “Plugins” then “Add New”
- in the search bar, search for “Header and Footer” and select based on the reviews and installs
- Follow the instructions on the screen to make the plugin active and to add the script.
When the code is added, checking should immediately be able to verify the installation. If this does not happen, check the tips below.
Checking the code is added
We have a button that checks if the code is added under the “links” tab of your project. If we cannot find the script, here are some common issues and fixes.
If you need to ask us to check manually, please send a request via the support button.
Have you made at least one “Topic Association”?
Our check does not just check the raw code. It also renders the page to make sure that bots can see the schema that is generated. In order to do this, you must have associated at least ONE page to one topic. A green “tick” will then also appear next to the page on the project dashboard. No green ticks? Fix this first.
Are you blocking our Crawler?
Please check that:
- The IP address 184.108.40.206 is not blocked by your firewall (infact, you may wish to whitelist this IP address, so we can see and analyze your content).
- The user agent “inlinks” is not blocked by your site
Why Can’t InLinks see my Script in WordPress?
This is almost always due to a plugin which is caching code. When you logout of WordPress, the code will often not be visible anymore. You can temporarily disable the plugins to see which one, but for many SEOs, a common one is WP Rocket. If so, this will solve your problem: https://docs.wp-rocket.me/article/915-find-the-right-js-files-to-exclude-from-optimization. The file you need to exclude will be https://jscloud.net/x/***/inlinks.js where the stars are particular to your version of the code.
Please just contact us on the webchat if the code is still not recognized by our systems. If we canot read the code with our bot, we can check manually and make it live for you.
Installing Inlinks using Google Tag Manager
If you are an agency, it is likely that you will not have access to the site itself, but may have access to Google Tag Manager. You can use this to insert the code. A good explanation on how to do that is written here (opens in a new tab).
You do not NEED to call the .js file on a third party server if you do not wish to do so, but you will need a developer or system administrator to amend the implementation process. You can see the actual code executed by simply entering the .js link into a browser. The code for all sites beyond the first 600 or so, is this:
Your web developer may choose to add this code directly or put the .js file on your own server, to avoid a third party server being able to execute a .js file. In doing so, then only .json (text) files are called from third party servers and these are not executable. In this kind of installation, even if a bad actor were to compromise inLinks’ servers, they would not be able to run malicious code on your website by amending the .js file.
Modifying the installation
Your developer has the option to only use the code that generates the schema OR only use the code that generates the internal links. If you require further information on how to do this, please ask via the website.
Still got questions? Get in touch!
On the bottom right of your screen, you should see a chat icon. Please contact us through this if you still have problems and we will check your code for you. If you are also suppressing our chat icon, you can also email dixon(at)inlinks.net.