SEO Agency


Our SEO agency service will help your site increase traffic, sales and rankings. Using a mixture of on and off site optimisation, PR and social media marketing to improve your credibility and authority.

Read More

PPC Agency


If you want to increase your sales volume immediately then our PPC Agency service will help you to do this. We will use learnings to increase conversion rates to give you more for your money.

Read More

Banner Advertising


Banner advertising is used to build brand awareness. Advanced targeting techniques allow us to reach your ideal customer. When used in conjunction with SEO it is very powerful.

Read More

Social Media - Connect with BDR London

SEO Agency: Does Javascript Effect Search Engine Optimisation?

There is lots of information around that states Javascript is bad for seo. But with Google improving and changing its algorithm all the time is this still the case? So should you use Javascript in your web pages?

As an SEO agency it is our job to find know these things. Our research uncovers that you can use Javascript you just have to be careful where in the page you place the code.

JavaScript in the <body> will be executed as the page loads. This is not always desirable. Sometimes we only want to execute a script when a user triggers an event. You can do this by using JavaScript in the <head> this guarantee the script is loaded before anyone uses it.

It is preferable to put Javascript code in the <head>. If you put your Javascript code in the body of the page it can get lost within the page code ad it can become difficult to debug. If you put your Javascript code within your web page it will make it difficult for Google to crawl.

So if putting Javascript code within the page is no good you may think why not put it at the bottom of the page after the HTML code? Well that is no good either as the Search engine bot takes the bottom of the page as being the </html> tag so it will continue to crawl the page and your javascript as it keeps going right until it hits </html>.

A great way to keep your website code clean and SEO friendly is to keep your Javascript code in a separate file and call it on from the page when it is needed.

There is evidence Google can read URLs in Javascript code but why chance it? As an SEO agency when we talk about web design with our clients we do everything within our power to make it as easy as possible for Google to come to the site and crawl it.

If it makes it easier to think about it using a real world example envisage this. Would you build a shop doorway only 5 feet high? No, as this would make it difficult for people to enter. Javascript code does make it more difficult for Google to enter your site

 

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

More Like This

No related items were found.