2

My company has <script> tags on a lot of sites, some of these sites have very high page ranks.

Right now the <script> tags have a src of Microsoft's blob data.

We want to move away from Microsoft's blob data storage and use a full blown CDN. If we use Microsoft's CDN we could set it up to use their URL (msecnd.net) or use our companies URL.

There are some technical benefits to using Microsoft's URL (https support), but if we use our URL, could Google see this as any type of inbound link to our site?

Is there any other way my companies search rank could benefit from having our script tags on high ranking sites?

Obviously doing something like document.write('<a href=mysite.com>') in the script file could work, but would not be good practice.

1
  • I don't think I correctly understood the question. Your company has a lot of <script> tags but they have a src of Microsoft? For what is worth, having <script> with your site source doesn't contribute to rankings as you're basically loading part of your code inside other site, there's no link to be followed or reference as your site as a source of any type of relevance. Commented Nov 20, 2014 at 19:41

2 Answers 2

1

Googlebot will scan JavaScript files for things that may be links and it will crawl those links. I often see Googlebot getting 404 errors on my site for snippets from the JavaScript that are somewhat formatted like URLs. Things like

  • ad/3939999
  • hello.html
  • /xyzzy

These errors also appear in Google Webmaster Tools.

However, I have seen no evidence that Google passes link juice, Pagerank, or site authority across links that it discovers in JavaScript.

  • Since it uses heuristics to pick out things that look like links, many of the things that it finds are not actually URLs.
  • Google would need some indication that the JavaScript makes the link available to the user to click on. Google doesn't pass value across hidden links.

If you want SEO link value from your JavaScript widgets, you should include a plain HTML link with the widget. Google has cracked down on this practice though. They recommend that links placed along with JavaScript snippets have a nofollow because webmasters don't always realize that the link is there or that it is giving value to the site at which it points. Google has even penalized sites for widget linking when the links have rich anchor text. To my knowledge, Google has never penalized sites that use dofollow links if the anchor text of the link is the site domain name or brand name.

0

I would say any tags ie (rel="tag") would be crawled, but its a matter of on page content that has the most worth and a number of confidential details only known to Google.

Like the other poster stated src is only loading external content so not impacting SEO negatively.

The bottom line is: Have good content, keep visitors on the page long enough, and your rank will increase.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.