DM9: Growth engineering: referrals, sharing and lifecycle messages

Lesson 3 of 5 · reading 15–25 minutes; practice and project time is on the module page

Share links, previews and deep links

🎯You'll be able to

Make share links that preview well in WhatsApp and social apps, measure sharing with campaign tags, and use deep links into apps.

🏠The everyday picture

When you forward a recipe to the family group, a clear photo and title make people tap it; a bare, long address gets ignored.

📘What it really is

📝A worked example

Input: MittiMart's product pages have no Open Graph tags.

Steps:

  1. Add og:title (the product name), og:description (one line), og:image (the product image's full address) and og:url (the canonical address) to each product page.
  2. Add a Share button that uses navigator.share when available and a WhatsApp link otherwise, with campaign tags on the link.
  3. Send share with method and item_id (and nothing personal) when the button is pressed, after consent.

Expected output: a design for the capstone notes; adding Open Graph tags doesn't affect the kit's tests. (A real preview check needs a public address: not verified.)

🌍Where it's used

📝Case scenario

A jewellery shop's product links showed only its logo in WhatsApp previews, because every page had the same og:image. Setting each product's own photo as its preview image noticeably raised visits from shared links, measured with campaign tags.

🖱️Try it

Paste a link to a product from any shop into a chat with yourself and look at the preview. Then view the page source and find its og: tags. Success: you can match each part of the preview to a tag.

⚠️Common mistakes

🛠️For your project

Your capstone's design notes can include MittiMart's share feature with its tags and event.

✅Quick check

Which tags control how a link previews in WhatsApp?

Show the answer

Open Graph tags such as og:title, og:description, og:image and og:url.

How do you measure visits from shared links?

Show the answer

Campaign tags on the shared link, plus a share event when the button is pressed.

← PreviousReferral programmes that resist abuse
ProLearners Assist