Pay on Results SEO


Want a no risk way of working with an SEO agency? BDR London works on a pay for performance SEO model. Single keyword, multi keyword and pay per sale packages to suit all budgets. Packages start from £99 per month.

Read More

Google PPC Advertising


BDR London's PPC service is simple. No Contracts, Free set up, per keyword or full campaign management available. Packages start from as little as £99 per month. All campaigns are managed by Google qualified professionals.

Read More

Banner Advertising


Free planning and buying for banner advertising campaigns. BDR London optimises and manages your campaign our fee is taken from the media owners so you pay nothing. Kickbacks available for larger budgets.

Read More

Pay for Results

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.