How to add Open Graph tags (image, title, description for social networks)?
Why add Open Graph tags
Key points • Open Graph tags control how your pages are displayed on social media • They improve the sharing of your offers, rooms, and news • Each page must have a suitable image, title, and description
Open Graph tags are essential for a hotel website. They determine how your pages appear when shared on Facebook, LinkedIn, Twitter, or WhatsApp. A poorly framed image or an incomplete title can reduce the impact of your posts. Conversely, properly configured tags enhance your appeal and increase bookings.
To begin, access your page's SEO/Open Graph settings. Each static page has a dedicated area where you can define: • Open Graph Title (og:title) • Open Graph Description (og:description) • Open Graph Image (og:image)
The title should be clear and impactful, the description concise, and the image sufficiently large (recommended: 1200×630 px). Choose a professional photo that showcases your hotel: an iconic room, the facade, the view, the spa, the restaurant, etc.
If you are working with dynamic CMS pages, open the CMS template and then go to the SEO/Social tab. There you can define: • a social title based on dynamic fields (e.g., – Hotel Riviera) • a description incorporating variables such as the article summary • an Open Graph image from a CMS field (e.g., Main Room Image)
💡 Tip: Use a combination of static text + dynamic data to harmonize all your pages (e.g., – Discover our hotel).
Also ensure that: • your OG image is properly hosted on your site • your page is published after each update • the image format and size are optimized (JPG or WebP format, <500 KB)
To verify that everything is working correctly, use an Open Graph testing tool such as: • the Facebook Sharing Debugger • the LinkedIn Post Inspector • the Twitter Card Validator
These tools allow you to view an exact preview of your links on social media. They also refresh the page if an older version is cached.
Finally, if you change the preview image or text, remember to republish your site and request a “scrape again” in the tools above so that the networks update the new information.
Conclusion
Adding Open Graph tags is essential for controlling the appearance of your hotel pages on social media. By defining an optimized title, description, and image—static or dynamic—you boost your visibility and improve the impact of your shares.