Skip to main content

Deep Linking Usage Guide

For Developers: See Deep Linking Technical Documentation for implementation details.

What is Deep Linking?

Deep linking allows you to create special URLs that open the Eli Health mobile app directly, taking users to specific screens like signup or password reset. This is essential for email campaigns, social media, and marketing efforts.

Quick Start

Use these URLs for all customer-facing campaigns:

Signup: https://app.eli.health/signup
Password Reset: https://app.eli.health/reset-password

Use these for internal testing only:

Development: https://dev.eli-app.com/signup
Staging: https://staging.eli-app.com/signup

User Experience Flow

With App Installed:

  1. User clicks link → Pop-up appears
  2. User taps "Allow" → App opens
  3. User lands on intended screen

Without App Installed:

  1. User clicks link → Pop-up appears
  2. User taps "Allow" → Error shown
  3. User sees download page with instructions
  4. User downloads app from App Store
  5. User returns to email and clicks link again
  6. App now opens successfully

Visual Examples

iOS Device (App Not Installed)

When an iOS user clicks a deep link without the app installed, they see:

iOS Deep Link Page

  • Blue banner with download instructions
  • "Download on the App Store" button (Apple-compliant)
  • Automatic attempt to open app (fails gracefully)

Desktop/Non-iOS Device

When a non-iOS user clicks a deep link (Android, desktop, etc.), they see:

Desktop Deep Link Page

  • Yellow warning: "iOS Device Required"
  • Message explaining app is only available on iPhone/iPad
  • Still shows App Store link for reference

Password Reset Page

Password reset links have additional warnings about mobile device requirement:

Password Reset Page

  • Orange warning: Must open on same mobile device
  • Clear instructions for mobile users
  • Prevents confusion from desktop attempts
https://app.eli.health/signup?utm_source=SOURCE&utm_medium=MEDIUM&utm_campaign=CAMPAIGN

Required Parameters

Always include these UTM parameters for tracking:

ParameterWhat It TracksExample
utm_sourceWhere traffic comes frominstagram, newsletter, facebook
utm_mediumType of marketingsocial, email, cpc
utm_campaignCampaign namesummer_2024, product_launch
campaign_id(Optional) Unique IDIG_SUMMER_001

Email Newsletter:

https://app.eli.health/signup?utm_source=newsletter&utm_medium=email&utm_campaign=january_2024

Instagram Bio Link:

https://app.eli.health/signup?utm_source=instagram&utm_medium=social&utm_campaign=bio_link

Facebook Ad:

https://app.eli.health/signup?utm_source=facebook&utm_medium=cpc&utm_campaign=hormone_health&campaign_id=FB_123

TikTok Campaign:

https://app.eli.health/signup?utm_source=tiktok&utm_medium=social&utm_campaign=viral_video_jan

Partner Referral:

https://app.eli.health/signup?utm_source=wellness_partner&utm_medium=referral&utm_campaign=q1_2024

Best Practices

For Marketing Campaigns

DO:

  • Always include utm_source and utm_medium parameters
  • Use lowercase with underscores for campaign names (summer_promo_2024)
  • Test links on iOS devices before launching campaigns
  • Use campaign_id for tracking specific ad variations
  • Document all campaigns in your tracking spreadsheet

DON'T:

  • Share bare links without UTM parameters
  • Use spaces or special characters in parameter values
  • Mix uppercase and lowercase randomly
  • Launch campaigns without testing the links first

Use this format for consistency:

utm_campaign naming: [season/month]_[topic]_[year]
Example: spring_wellness_2024

campaign_id naming: [PLATFORM]_[TYPE]_[NUMBER]
Example: FB_AD_001, IG_STORY_042

URL Shorteners

Deep links work with URL shorteners (Bitly, TinyURL, etc.):

Safe to use:

Original: https://app.eli.health/signup?utm_source=instagram&utm_medium=social
Shortened: https://bit.ly/eli-signup-ig

⚠️ Important:

  • Always test shortened links before campaigns
  • Avoid double-redirects (shortener → shortener → destination)
  • Keep the original long URL documented

Platform-Specific Guides

Email Campaigns

When creating email campaigns with deep links:

  1. Use full URLs (not shortened) in email HTML
  2. Include UTM parameters for each email type
  3. Test on mobile device before sending
  4. Track performance in Firebase Analytics

Example email link:

<a href="https://app.eli.health/signup?utm_source=newsletter&utm_medium=email&utm_campaign=february_2024">
Join Eli Health Today
</a>

Social Media

Instagram:

  • Use in bio, stories (with swipe-up), or link stickers
  • Always use utm_source=instagram

Facebook:

  • Works in posts, ads, and messenger
  • Use utm_source=facebook&utm_medium=cpc for paid ads

TikTok:

  • Use in bio or profile links
  • Use utm_source=tiktok&utm_medium=social

Twitter/X:

  • Works in tweets and bio
  • Consider using shortener for character limits

For paid campaigns, include detailed tracking:

https://app.eli.health/signup?utm_source=google&utm_medium=cpc&utm_campaign=hormone_testing_jan&campaign_id=GGL_SEARCH_001

Track each ad variation with unique campaign_id values.

Special Use Cases

⚠️ Important: Password reset links MUST be opened on a mobile device.

Users will see a warning if they open on desktop:

"You must open this password reset link on the same mobile device where you requested the password reset."

Where password reset links come from:

  • Automatically generated by Firebase when user requests password reset
  • Should not be manually created by marketing
  • Automatically includes necessary security tokens

Influencer Campaigns

Create unique links for each influencer:

https://app.eli.health/signup?utm_source=influencer_name&utm_medium=social&utm_campaign=influencer_q1&campaign_id=INF_001

This allows you to track which influencers drive the most signups.

QR Codes

Deep links work great in QR codes:

  1. Generate QR code using https://app.eli.health/signup?utm_source=qr_code&utm_medium=offline&utm_campaign=event_name
  2. Print on marketing materials
  3. Users scan → link opens → app opens (or download page)

Before Campaign Launch

  1. Create test link with all UTM parameters
  2. Send via iMessage to yourself (don't type in browser)
  3. Tap link on iPhone
  4. Verify app opens to correct screen
  5. Check Analytics in Firebase (next day)

Test Checklist

  • Link opens app on iOS device
  • Link shows download page when app not installed
  • All UTM parameters are present and correct
  • Campaign name follows naming conventions
  • Link works through URL shortener (if using)
  • Analytics tracking confirmed in Firebase

Tracking Results

Where to View Data

Campaign performance is tracked in Firebase Analytics:

  1. Open Firebase Console
  2. Go to Analytics → Events
  3. Look for account_created event
  4. Filter by campaign parameters

Key Metrics

Track these metrics for each campaign:

  • Click-through rate: How many clicked the link
  • App installs: New installs attributed to campaign
  • Signups: Completed registrations with campaign data
  • Cost per acquisition: Campaign cost / signups

Campaign Attribution

When users sign up through your deep link, their account is tagged with:

  • Campaign source
  • Campaign medium
  • Campaign name
  • Campaign ID (if provided)

This data is available for cohort analysis and user segmentation.

Common Questions

Q: Can I use these links on Android? A: Yes, but Android users will see a download page since there's no Android app yet. Their campaign data is still tracked.

Q: Do links work on desktop? A: Signup links work but show a download page. Password reset links show a warning to use mobile.

Q: How long until analytics data appears? A: Campaign data can take 24-48 hours to appear in Firebase Analytics.

Q: Can I test without affecting real data? A: Yes, use the development URL: https://dev.eli-app.com/signup?utm_source=test&utm_medium=testing

Q: What if I forget UTM parameters? A: The link will work, but you won't be able to track the campaign's performance. Always include parameters.

Q: Can I change a link after sending it? A: No, links are static. Plan your campaign structure before launch.

Need Help?

For Marketing Questions:

  • Contact the marketing team lead
  • Review this guide
  • Check Firebase Analytics dashboard

For Technical Issues:

  • Contact the development team
  • Include: link that's not working, device type, expected vs actual behavior
  • See Technical Documentation

Quick Reference

Production Signup: https://app.eli.health/signup
Dev Testing: https://dev.eli-app.com/signup
Staging Testing: https://staging.eli-app.com/signup

Copy and customize:

https://app.eli.health/signup?utm_source=YOUR_SOURCE&utm_medium=YOUR_MEDIUM&utm_campaign=YOUR_CAMPAIGN

Parameter Values

Common utm_source values:

  • newsletter, instagram, facebook, tiktok, google, partner_name

Common utm_medium values:

  • email, social, cpc, referral, organic, offline

Remember: Always test before launching! 🚀