Cobblehop / Website widget

Get here by transit: a widget for your website

For venues, museums, theaters, restaurants, hotels and event pages in Massachusetts. Add one line to your site and visitors get a box that asks where they're starting. They tap the button and get one clear plan to you by train, subway, bus or ferry, with live times.

Make your widget

Colors

Preview

Code for your site

Paste it where the box should appear, for example in a WordPress "Custom HTML" block or a Squarespace "Code" block.

If your site doesn't allow scripts

Some site builders (Wix, some newsletter and listing tools) only accept an iframe. This version works the same way, without JavaScript.

What visitors get

Privacy and speed

Questions

Do I need an account?

No. Copy the code and paste it into your page. There is nothing to sign up for.

Where does it work?

Across Massachusetts: MBTA subway, Commuter Rail, buses and ferries, the regional bus systems, Amtrak and the island ferries, plus nearby trips into Rhode Island and southern New Hampshire.

Can I put more than one on a page?

Yes. Load the script once, then add <div class="cobblehop-widget" data-to="your address"></div> wherever you want a box.

Will it clash with my site's styles?

No. The box keeps its own styles inside a shadow root, so your CSS doesn't change it and it doesn't change your page.

Is Cobblehop the official MBTA app?

No. Cobblehop is an independent app. It uses public data from MassDOT/MBTA and other transit agencies. See About Cobblehop.

Hosting guests rather than visitors?

See Cobblehop for hosts: a guest link and a printable QR card that start the trip at your door.