: Share links with SEO I would like to create a share link to my website using javascript: script src="[url-to-my-script]" Basically the main idea behind this is to render HTML block with an
I would like to create a share link to my website using javascript:
script src="[url-to-my-script]"
Basically the main idea behind this is to render HTML block with an image and link to the website.
By using JavaScript approach I can control the look and feel of that link + potentially I could change the link html in the future without touching partner websites.
The only potential problem I see with this approach is SEO. I'm not sure if google will be able to index that link to my website, since it's generated by javascript.
More posts by @Radia820
2 Comments
Sorted by latest first Latest Oldest Best
Like John said, there would not be any direct SEO benefit - i.e. those links would not increase your PageRank - but you you'd still get your name out there and get more visitors (isn't that what it's all about?)
Regardless, I think other webmasters might be wary of using an external Javascript file just to link to a web site. If it's a more intricate widget (say, your latest news) then you may get more traction, but the user must put their faith in you that you won't change the script to take over their web page or something else sinister.
You could either go with a standard text link, or perhaps a dynamically-generated image. Alternatively, try one of the common sharing widgets like AddThis, which allows sharing over the various social networks.
Search engines don't read dynamic content produced by JavaScript so even if your JavaScript code produces HTML with a link to your site in it the search engines will not know about it.
Your best solution is to use a NOSCRIPT tag to include some HTML which links to your site.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.