Purpose of the module
The primary aim of the module is to optimize your website by using the creation of rich cards from Google in its recommended format (LD-JSON) and from Twitter, thus fulfilling the recommended actions to improve the positioning and visualization of your website, organization, products, navigation and mobile usability of your online store. The image below shows the difference between not using rich cards on your website, using rich snippets (currently outdated) and the rich cards generated by our module.
As you see, there is a big difference, making your website more attractive to search engines and customers.
Setting up the module, General
Initially the module comes activated with the most common and recommended options for most stores, but you can go to customize and activate extra options that will help you have a more tailored to your needs experience. We will review each of the options available in the module configuration screen.
Product Rich Cards: These are the product rich cards. They are generated into the product view and include all the required information for Google to generate the preview. We recommend that you have this option enabled.
Category Product Rich Cards: Generates product rich cards when you are within a category, having multiple product cards on a single page. We recommend that you have this option enabled.
Ratings on Product: If you have one of the compatible modules (productcomments, gsnippetreviews, owlproductcomments, lgcomments) you can enable this option to generate tags that inform Google of the score/evaluation your products have scored, showing stars in the search engines as shown in the image below.
Yotpo App Key: If you use the "Yotpo" service instead of an opinion module, you must enter your API key here. Do not confuse with the password of your user. Thanks to the key we will be able to retrieve the opinions of your customers of the platform "Yotpo" and generate the sections "aggregateRating", although momentarily it is not compatible with the section "review".
Product BreadCrumbs: Generates the enriched card "BreadCrumbList" granting the absolute path in your store to the product or products that are being displayed at that moment. Helps search engines to have better knowledge of the structure of their website. We recommend having this option enabled.
Store Rich Card: The rich cards will be generated if you have a configured list of stores, otherwise there will be no data with which to generate this list. “Store" type cards will be generated exclusively in the store listing section, not elsewhere.
Store Type: Here you can select a category that best suits your business model. The default option is "LocalBusiness" and you should leave it as such if there is no category that comes close to your store type.
WebSite y WebPage Rich Card: This option will insert in the contact and main pages all the information related to your business, making it easier for search engines to display information such as your logo, opening hours, GPS location, etc. It’s highly recommended to have this option enabled.
Use short description: Some stores make exclusive use of the short description for their items. If this is the case, you must activate this option so the cards are fed from the "short description" field instead of the extended description. It is highly recommended that for your SEO you have both descriptions filled in.
Force InStock: If your shop does not make use of product stock control and therefore the units are always at 0, you must activate the option. This will force the "InStock" value of the product card always to true.
Price Range: Mandatory option. Search engines use it to classify your website regarding the average cost of your products. Adjust it to the average value fitting your products.
HrefLang Tags: If your website offers several languages, you should activate this option. Every time a search engine enters, for example, to the English version of your site, you will also report the links corresponding to the other languages, improving the search engines indexing and increasing your international SEO. It’s highly recommended to have enabled this option whenever you do international business.
Twitter Cards: If you regularly share your products through the Twitter social network, this is your option. Thanks to the rich Twitter cards, you will be able to inform about which elements should be shown when sharing, achieving a better presentation of the data to your followers. You should enable this option only if you are planning to use this social network or if you think that your users will share your products through it. A valid username must be set in the "Twitter username" section.
Category Twitter Card: Like the previous option, this feature will allow you to generate the suitable information card when you share a link to a category of your website. If you activated the previous option, you should also activate this one.
Twitter username: Your Twitter username. It Will be used into social media section and in Twitter cards too.
Setting up the module, Website Validation
It is usual for many pages such as indexers, search engines or suchlike to require you, before using their services, to verify that the domain for which you are requesting indexation or services belongs to you. With this option, you will save having to embed validation codes in your templates, upload files to your page or having to create tedious entries in your DNS server.
Simply fill in the field corresponding to the engine or service for which you want to perform a validation with the value assigned to it for said validation. Currently we allow the validation of the most common services in the network, but if you know another or need it and our module does not include it, you can contact us and we happily will add it in the next version.
Keep in mind that the validation of your domain will bring certain added advantages, such as being able to request from Google, Bing, Yandex, etc. which elements you should index, achieving that way a better positioning of your website and saving those search engines time, granting you a better ranking.
Setting up the module, Social Media
For the generation of the "Organization" tag it is recommended that you specify the different social networks that your business may have. Here it will be enough to add the web address to your different social network profiles. Also, remember that the social media can be really powerful and useful nowadays.
Setting up the module, advanced SEO
If you have advanced knowledge in SEO you will be able to use the following options to optimize the resources of your page. If not, we recommend that you skip the section.
Canonical on Index: Allows you to insert the "canonical" tag on the main page of your store.
DNS Prefetch: Allows you to create a list, separated by line breaks, of host names to make DNS Prefetch. Suppose you want to pre-cache a connection to Facebook and Instagram, for that, you would insert both hosts, separated by line breaks, such as facebook.com and Instagram.com.
DNS Preconnect: As with DNS Prefecth, you will need to list the names of hosts you want to pre-connect to when you load your home page.
It is important that you conduct performance tests before and after configuring DNS options. If you have not noticed any improvement with the pre-connections we recommend that you disable the option.
Setting up the module, Theme Snippet Remover
The vast majority of themes available on the market and a large part of the existing modules do not meet the 2019 standard for snippets or rich cards
This fact ends up resulting in hundreds of errors in your validation console and removing your site from the possibility of being selected to display rich cards
Thanks to this new option of our module you will be able to locate which template files are the ones that currently contain snippets, eliminate those references completely without touching the structure and be able to continue only with the structure generated by our module.
The first thing you need to do is click on the "Search for Snippets" button. This will launch our heuristic search engine for rich data in your theme and module folder. Once the search is completed you will be shown a summary of paths and files found. Even if our module makes backups, it will not hurt you to make one yourself in case something doesn't work as expected, better safe than sorry.
If you have previously made a copy/cleanup, you will see the list after a few seconds.
Once the affected files have been listed, you can click on the green button "Make a backup and Remove Snippets". A process will start to copy the original files, which will be saved in their original path under the double extension ".psback.tpl" and to clean the current metadata sections.
Be careful not to change tabs or screens during the process, as this may interrupt the task.
If you were already having warnings on your Google console, this should be the first step to take, as errors probably come from your current theme.
Note that, if you update your theme or modules and the erroneously structured files are copied again, you will have to clean the files once more.
Module link: https://addons.prestashop.com/es/seo-posicionamiento-buscadores/29197-google-rich-snippets-cards-ld-json-twitter.html