Predeployment checklist

In order to achieve optimal performance and keep the customer happy it is advised to follow these guidelines. Before deploying, check if you have added these functionalities, and add them if you didn't.

Social media optimisation


To be able to display the website as an object in a social graph (that is, display it with more detail on social networks) the Open Graph protocol will be used. Meta tags are used to describe the properties of an object of interest. Regarding Facebook, the four required properties for every page are:

Along with these properties, it's encouraged to use others, if applicable. For a more detailed overview of the tags, please consult the comprehensive list of Facebook tags


Similar to the the Open Graph protocol, Twitter Cards are used to display the website on the Twitter social network. There are various types of cards, the most basic being the Summary Card. At least the summary card should be implemented. Of course, if it's possible, implement a more detailed one =).

Icons and colors for the browser


In order to add support for icons to the website, several meta tags must be added. As a result, the icon may show up in many places, including the browser tab, recent app switch, the new (or recently visited) tab page, and more. It's necessary to provide icon support for all of the major browsers as well as for most of the mobile platforms. A handy tool for the task is the Real Favicon Generator.


In accordance with the designers wishes, it's possible to color browsers and elements of the platform. For further info, check out what Google Developers have to say about it.

Google analytics

To start collecting basic data from a website it's necessary to set up Google analytics. If the client hasn't done it by himself already, set it up in his stead and transfer the ownership later on.

In order to set up analytics for a given page, please consult the following Guide.

Google Search Console

Expanding on Google analytics, establish Search Console tools functionality for the site to be deployed. After setting them up, remember to add the client as the owner (not the admin). Make sure that we remain the owners of the site.

If you need help setting them up, here you go young sir or madam.

Side note: it's not possible to verify whether the tools have been set up properly before actual deployment because Webmaster tools require an actual link pointing to the website. Immediately after deployment, link everything up and verify it's functioning correctly.


In order to boost indexing efficiency, create a sitemap file. Given the fact that we currently prefer using node on our projects, it's advised to use a plugin for node. At the time this guide was written, this package was at it's prime. At the time you will be reading this guide, be sure to check if that's still the case.

If for any reason you can't use node and it's plugins, don't worry about it. You can use any substantial third party option, as long as it generates a sitemap.xml at the root of your project. As always, in times of need consult the documentation

HTML and semantic elements

Use semantic elements as much as possible. Even in the worst case scenario, it's possible to apply at least the main element. For an extensive list of elements and their meaning, follow this link and read up.


Consensual cookies are good. Non-consensual cookies are illegal (well, at least in some countries). If you are using cookies, be sure to keep the user informed about their use and to ascertain users consent.

Luckily enough, we have developed and are currently maintaining a gem for that. Add the cookies_eu gem to your Gemfile and set it up. If you need help with this one, consult the backend team.

Environment specific robots.txt

Letting crawlers crawl over your staging page is ill advised, as it's bad for SEO. If the project you are working on has its staging environment, prevent crawlers from gathering data that hasn't been approved yet by creating environment specific robots.txt files.

Similar to the former case, add the roboto gem to your Gemfile and set it up. Feel free to check if a better developed or better maintained technology has become available. You can always consult the backend team if assistance is necessary.

Testing and optimising

As soon as you've deployed your site you should check its speed, performance and mobile usability.

You can check your site's performance with Lighthouse, TestMySite, PageSpeed Insights and with WebPage Test. All four tools sum up a list of potential problems and usually advise you on how to fix them.

To check mobile usability you can use Mobile-Friendly Test.