PromoRepublic

Live demo · Website hours

Opening hours on every location page that stay in sync.

Below is a sample location website. The hours card isn't typed into the page: it comes from the location's listing in PromoRepublic. Change the hours, add holiday hours or mark a temporary closure there, and every website using the snippet updates by itself.

Locations › Finland › Helsinki

PromoRepublic Helsinki

Tammasaarenkatu 1, 00180 Helsinki, Finland

About this location

Our Helsinki office is in Ruoholahti, just west of the city centre. Drop by during opening hours, or book a time that suits you.

This block is ordinary page content written by the site owner. Only the hours card on the right is managed from PromoRepublic.

  • Getting here Metro to Ruoholahti
  • Phone +358 41 7216715

    How it works

    Set it up once. Never edit hours on the website again.

    1. 1

      Hours live in one place

      Each location's hours, holiday hours and closures are kept in PromoRepublic Listings, the same place that sends them to Google, Apple Maps, Bing, Facebook and directories.

    2. 2

      Copy one snippet

      In Location settings → Website hours, copy the code and paste it into the location page, in any website builder or CMS that accepts an HTML block.

    3. 3

      The page keeps itself current

      When the hours change in Listings, every page with the snippet shows the new hours within about 20 minutes. Nobody logs in to the website.

    What you get

    Built for real visitors and for search engines.

    Shows up instantly

    The snippet carries a copy of the hours, so visitors see them right away. The live hours replace that copy a moment later if anything has changed.

    Holidays and closures

    Upcoming holiday and special hours appear on their own. A temporary closure shows a clear notice, the reopening date and the usual hours underneath.

    Readable by search engines

    Alongside the visible card, the page gets the hours as schema.org structured data, the format search engines use to understand a business's opening hours.

    Looks like your site

    The card picks up the website's fonts and colours. A web designer can restyle it completely, or switch our styling off.

    Speaks the visitor's language

    Labels follow the page language in 10 languages, and times follow the country: 19:00 in London, 7:00 PM in Chicago.

    Never breaks the page

    If the hours can't be reached for a while, the last copy stays on screen. Whatever the site had there before is the final fallback.

    Private and light

    No cookies, no tracking, no visitor data. One small script, about 8.5 KB.

    You stay in control

    Regenerate the code in Location settings and the old snippet stops showing hours on whichever site it was pasted into.

    Under the hood

    What happens when someone opens this page

    1. ListingsThe location's hours, special hours and open status
    2. PromoRepublic hours serviceRefreshes each location's copy every 15 minutes and keeps the last good one if a source is down
    3. The snippet in the browserDraws its built-in copy at once, then the live hours
    4. The pageA visible hours card plus structured data for search engines

    The snippet on this page

    Two lines. The key identifies the location; the long attribute is the built-in copy of the hours.

    
          

    What search engines read

    Structured data the snippet added to this page, built from the live hours only.

    Waiting for the live hours…
    Does this change what Google shows in Maps and the local pack?

    Google takes those hours from the Business Profile, which PromoRepublic Listings already keeps up to date. The snippet makes the location's own website agree with it, so visitors and search engines see the same hours everywhere.

    What if the website can't run scripts?

    Anything placed inside the snippet's container (for example, the hours written as plain text) stays visible wherever the script doesn't run, including to tools that read pages without running scripts.

    Can a developer use the data directly?

    Yes. The same hours are available as JSON for each location key, and the snippet fires events so a developer can render the hours in their own markup.