I just want the main page to be exposed but do I need server side rendering? How can a site deployed in netlify be exposed to search engines like Google?
Assuming your Netlify website is public and you would like to speed up the Google Search Index process, and improve your ranking - here are some helpful links by Google:
Get on Google
Improve your performance on Google Search
This is not really a Netlify specific question, but a website question in general question.
Related
I have a node.js website and I seek a simple way to know if anyone is visiting it. I have google analytics 4 on my google account panel (I created that account with google), and I want my node.js website to report site visits to it (like people are doing with Wordpress).
In short, I want to go up to my google analytics panel on google and view the site visits (of a node.js website). I am not trying to go the other way of using node.js to pull data from what I think is a google analytics API. I am not trying to clone the google analytics dashboard on a site.
This is my website.
https://rocky-temple-91974.herokuapp.com
In google analytics stream I have the Measurement ID copied and ready. Do I have to add code to my node.js website and paste in the Measurement ID? Is there a node package I need to install in my site code?
Remember I have google analytics 4 not Universal.
Finally, I see everyone knows how to do this with Wordpress and Shopify. Wordpress has a plug-in that allows you to paste in the Measurement ID. I am thus wondering why no one says or knows anything about using google analytics 4 with node.js. With node.js it seems no one is trying to view the site visits by logging into google analytics and using the google tool.
If google analytics account viewing does not work with node.js I would like to have a code snippet for node.js that would say save counts to a file in my node.js public folder. I am using mongoDB Atlas and another way would be to save visitor counts to mongoDB. Any hack like that would be appreciated.
I have not had any luck finding how to use google analytics for node.js (everyone knows how to use Wordpress to do it).
Thanks everyone! I feel this is a worthy question to ask.
I want to build an HTML, CSS, and Js for my home page and my landing pages and a Shopify store for my product pages but I want to be on the same domain so that the flow doesn't break and my SEO and analytics be more precise.
How can I achieve that?
I would venture that you have two options (there may be more, but these popped in my head first):
Create a subdomain of your primary domain. This wouldn't mess with your current domain's SEO and you may actually see benefits from future SEO since the two are connected by a common domain. I know search engines treat subs as their own, but your sites will be driving traffic between each other and this would keep your customers within your overall domain.
Create a page/series of pages under your primary domain with pictures and Shopify buttons for each item. This is highly redundant and, frankly, a waste of time and energy, but I am putting it out there, nonetheless.
Use the Buy button SDK over your main content website to append the product from Shopify and utilize the Shopify cart functionalities.
I think this is the best option when you want to have a separate website along with Shopify, its cost is lower than the regular Shopify plan.
Here are some links:
buy Button
Documentation
Shopify Lite
Storefront API with Checkout API also provide all the power of Shopify to those that do not want to host on the Shopify online store platform. Would suit your use case fine it seems.
My project is a single page application using react js. I have heard that Google can crawl javascript pages including react js single page applications, without the need of server side rendering (even though it's generally better for SEO).
However, when I used webmaster tool: fetch and render as google, both what google bots are seeing and what visitors to my page are seeing are blank.
Even though I can add specific urls to google indexing, google only uses the title and description tag that I have put in my static index.html file, it doesn't get the nested react helmet component's title and description. Does anyone have experience in this? Appreciate it much!
To answer your question, ensure that you have polyfilled the necessary es6 features, google crawler's javascript feature can be quite limited, it does not have Array.find for example. You can read more about that here https://github.com/facebookincubator/create-react-app/issues/746#issue-179072109
As for tips for improving SEO, you can use these tips:
You can prerender your pages on build time to static html by using react-snapshot https://www.npmjs.com/package/react-snapshot This works great if your app does not have many dynamic content.
You can use pre rendering service like prerender.io / use static hosting with prerendering feature like netlify or roast.io. As for prerender.io, you can even host it yourself!
I am doing an angularjs app with a nodejs-expressjs server.
I want to do an app that it's similar to a business directory.
I have doubts about if it's possible doing it SEO friendly to the all items at the directory, either by his name or his features (tags). Always having in mind that all pages are created with AngularJS.
If it is possible, how to do that dinamically.
I implemented an example that uses prerender server (this https://github.com/prerender/prerender) and the prerender-node library at the app server.
My example's pages, created by angularjs, does work (are SEO friendly, it appears at google's search)..but the pages are "static", and the directory it's going to add always new bussines to the directory that I want to appear in googles searching.
Besize, I want my app to be multi-language, and also have doubts about how to do all of that be multi-language, and if it is possible.
I hope you can help me.
If you're hosting your own Prerender server, it will serve the page "on the fly" every time Google accesses it, so it will always have the latest, dynamic content from your pages. If you're using a Prerender plugin to cache your pages, you'll need to make sure you recache them... or use our Prerender.io SaaS and we'll take care of all of the recaching for you.
It sounds like you just want Google to crawl your pages more often because of how dynamic your content might be. In order to have Google crawl your pages more often, make sure to quality inbound links from other sites to increase your PageRank.
Here is lots of advice from Google about multi language sites: https://support.google.com/webmasters/answer/182192?hl=en
Pardon me if this question is not a good fit but i am unable to find relevant material. I have searched across the net and have found many answers but i still want to ask the question.
I am developing a Drupal 7.23 website. It will mostly use views. Not too heavy site. Now, can i host the site on github. We would be two people working on the project and so i thought of using Git. However i am unsure how to do this or if this can be done. hosting the drupal site, the db etc...Can you guide me on this or provide some links...i can carry it from there.
Apologies again if not the right place to ask this question.
GitHub pages could host only static pages, without any database backend.
And generally, GitHub is hosting service for software projects, which means it could help you store your code, but not for websites, because it will not run your code.