Web • 1 min read

Upgrade your Slack Previews

A recipe on making richer link unfurls on Slack.

Ishan

Ishan Chhabra

Software Developer

The Code Cakery Logo

published in

The Code Cakery

Upgrade your Slack Previews

Did you know that Slack can be programmed to unfurl your website links and add rich information to them? Not only will it add rich information, but it will also drive more conversions. This Thought will show you exactly how to do it and how to replicate it. Let's take a dive.

I know you know how to use Open Graph tags to create rich previews. That's awesome. You can use og:title, og:description and og:image to create a preview like the one below.

Slack Preview OG

Cool Preview

Neat. But why settle for this?

It's time to upgrade.

Let's throw in some custom label meta tags in our page's <head> and see what happens.

index.html

<meta name="twitter:label1" content="Reading Time" />
<meta name="twitter:data1" content="3 min read" />

<meta name="twitter:label2" content="Category" />
<meta name="twitter:data2" content="iOS" />
Slack Preview Custom Labels

Super Cool Preview

That's nice. Not only does the reader have a good look of your preview, but they also get some insights in the unfurl about the reading time and category of the article. This makes the link more tappable and yields great conversions.

Subscribe to email updates

How'd you rate this thought?

😞😐😃