2 ms·
Ask HN: Widgets and SEO (iframe vs JavaScript)?
Just wondering what is the preferred way to provide a widget of a web service. That is, a small frame that people can display on their own web site.
For one of my sites I chose an iframe, hoping that it would somehow count as inlinks by Google. However, I suspect that has never happened.
If they are useless for SEO, maybe Javascript would be a better choice? For one thing, it would be easier to adapt the widget to the style of the web site (it could inherit some styles).
Also wondering what to do if something about the widget changes. I don't have email addresses of people who use the widget, so how can I try to prevent their web sites from breaking?