{"id":1572,"date":"2026-06-25T13:00:00","date_gmt":"2026-06-25T18:00:00","guid":{"rendered":"https:\/\/dev.tolinku.com\/?p=1572"},"modified":"2026-03-07T03:58:59","modified_gmt":"2026-03-07T08:58:59","slug":"deep-linking-livraison-repas","status":"publish","type":"post","link":"https:\/\/tolinku.com\/fr\/blog\/deep-linking-food-delivery\/","title":{"rendered":"Le deep linking pour les apps de livraison de repas"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Food delivery apps use deep links more frequently than most app categories. Every restaurant page, menu item, promotional offer, order confirmation, and delivery update is a potential deep link destination. Users receive push notifications (&quot;Your order is on the way&quot;), share restaurant recommendations with friends, and scan QR codes at restaurants. Each interaction needs a deep link that opens the right screen with the right context.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide covers deep linking patterns for food delivery and restaurant apps. For QR code strategies at restaurants, see <a href=\"https:\/\/tolinku.com\/blog\/qr-codes-restaurants\/\">QR codes for restaurants and food apps<\/a>. For e-commerce deep linking patterns, see <a href=\"https:\/\/tolinku.com\/blog\/deep-linking-ecommerce-apps\/\">deep linking for e-commerce apps<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/food-delivery-app.jpeg\" alt=\"Person holding smartphone with food delivery app\">\n<em>Photo by <a href=\"https:\/\/www.pexels.com\/@introspectivedsgn\" target=\"_blank\" rel=\"noopener\">Erik Mclean<\/a> on Pexels<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">URL Structure<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Content Hierarchy<\/h3>\n\n\n\n<pre><code>\/restaurants\/{slug}                          \u2192 restaurant page\n\/restaurants\/{slug}\/menu                     \u2192 full menu\n\/restaurants\/{slug}\/menu\/{item-slug}         \u2192 specific menu item\n\/restaurants\/{slug}\/reviews                  \u2192 restaurant reviews\n\/orders\/{order-id}                           \u2192 order details and tracking\n\/orders\/{order-id}\/track                     \u2192 live delivery tracking\n\/promo\/{code}                                \u2192 promotional offer\n\/cuisine\/{type}                              \u2192 cuisine category browse\n\/search?q={query}&amp;near={location}            \u2192 search with location\n\/reorder\/{order-id}                          \u2192 reorder previous order\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Location-Aware Deep Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Food delivery is inherently location-based. Deep links should carry location context:<\/p>\n\n\n\n<pre><code>https:\/\/yourapp.com\/restaurants\/pizza-palace?lat=40.7128&amp;lng=-74.0060\nhttps:\/\/yourapp.com\/cuisine\/thai?near=downtown-sf\nhttps:\/\/yourapp.com\/search?q=sushi&radius=5km\n<\/code><\/pre>\n\n\n\n<pre><code class=\"language-kotlin\">class RestaurantActivity : AppCompatActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n\n        val uri = intent.data ?: return\n        val restaurantSlug = uri.pathSegments.getOrNull(1) ?: return\n        val lat = uri.getQueryParameter(&quot;lat&quot;)?.toDoubleOrNull()\n        val lng = uri.getQueryParameter(&quot;lng&quot;)?.toDoubleOrNull()\n\n        if (lat != null &amp;&amp; lng != null) {\n            \/\/ Use the provided location for delivery estimates\n            viewModel.loadRestaurant(restaurantSlug, Location(lat, lng))\n        } else {\n            \/\/ Use the user&#39;s current location\n            viewModel.loadRestaurant(restaurantSlug)\n        }\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Promotional Deep Links<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Offer Deep Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Promotional campaigns drive significant traffic for food delivery apps:<\/p>\n\n\n\n<pre><code>Email: &quot;Get 20% off your first order from Pizza Palace&quot;\nDeep link: https:\/\/yourapp.com\/promo\/PIZZA20?restaurant=pizza-palace\n\nSocial ad: &quot;Free delivery on orders over $25&quot;\nDeep link: https:\/\/yourapp.com\/promo\/FREEDEL25\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The deep link handler applies the promotion automatically:<\/p>\n\n\n\n<pre><code class=\"language-swift\">func handlePromoDeepLink(_ url: URL) {\n    let promoCode = url.pathComponents.last ?? &quot;&quot;\n    let restaurantSlug = url.queryParameters[&quot;restaurant&quot;]\n\n    PromoService.shared.validate(promoCode) { result in\n        switch result {\n        case .valid(let promo):\n            CartManager.shared.applyPromo(promo)\n\n            if let restaurant = restaurantSlug {\n                navigateToRestaurant(restaurant)\n            } else {\n                navigateToHome(withBanner: &quot;Promo \\(promoCode) applied: \\(promo.description)&quot;)\n            }\n        case .expired:\n            showAlert(&quot;This promo has expired&quot;)\n        case .invalid:\n            showAlert(&quot;Invalid promo code&quot;)\n        }\n    }\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Referral Deep Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Food delivery apps often have referral programs. The referral deep link carries the referrer&#39;s identity:<\/p>\n\n\n\n<pre><code>&quot;Use my link and we both get $10 off: https:\/\/yourapp.com\/invite\/USER123&quot;\n<\/code><\/pre>\n\n\n\n<pre><code class=\"language-kotlin\">fun handleReferralDeepLink(uri: Uri) {\n    val referrerCode = uri.lastPathSegment ?: return\n\n    \/\/ Store referral for post-install attribution\n    sharedPrefs.edit().putString(&quot;referrer_code&quot;, referrerCode).apply()\n\n    \/\/ If new user, show special onboarding with referral credit\n    if (isNewUser()) {\n        showReferralOnboarding(referrerCode)\n    } else {\n        showAlert(&quot;Referral codes are for new users only&quot;)\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Order Lifecycle Deep Links<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Order Tracking<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The most common push notification deep link in food delivery:<\/p>\n\n\n\n<pre><code class=\"language-javascript\">\/\/ Push notification: &quot;Your order from Pizza Palace is being prepared&quot;\n{\n  title: &quot;Order Update&quot;,\n  body: &quot;Your order from Pizza Palace is being prepared&quot;,\n  data: {\n    deepLink: &quot;https:\/\/yourapp.com\/orders\/ORD-12345\/track&quot;,\n    orderId: &quot;ORD-12345&quot;,\n    status: &quot;preparing&quot;\n  }\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Reorder Deep Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">One of the highest-converting deep links in food delivery: the reorder link.<\/p>\n\n\n\n<pre><code>Push: &quot;Craving Pizza Palace again? Reorder your last meal in one tap.&quot;\nDeep link: https:\/\/yourapp.com\/reorder\/ORD-12345\n<\/code><\/pre>\n\n\n\n<pre><code class=\"language-swift\">func handleReorderDeepLink(_ url: URL) {\n    guard let orderId = url.pathComponents.last else { return }\n\n    OrderService.shared.getOrder(orderId) { order in\n        \/\/ Pre-fill the cart with the previous order items\n        CartManager.shared.clear()\n        for item in order.items {\n            CartManager.shared.add(item)\n        }\n\n        \/\/ Check if the restaurant is currently open\n        RestaurantService.shared.isOpen(order.restaurantId) { isOpen in\n            if isOpen {\n                navigateToCart(restaurant: order.restaurantSlug)\n            } else {\n                showAlert(&quot;\\(order.restaurantName) is currently closed. We saved your cart for later.&quot;)\n            }\n        }\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Restaurant Sharing<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Share Restaurant Links<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When a user shares a restaurant, the deep link includes context:<\/p>\n\n\n\n<pre><code class=\"language-swift\">func shareRestaurant(_ restaurant: Restaurant) {\n    var components = URLComponents(string: &quot;https:\/\/yourapp.com\/restaurants\/\\(restaurant.slug)&quot;)!\n    components.queryItems = [\n        URLQueryItem(name: &quot;ref&quot;, value: &quot;share&quot;),\n        URLQueryItem(name: &quot;utm_source&quot;, value: &quot;app_share&quot;)\n    ]\n\n    let message = &quot;Check out \\(restaurant.name) on [YourApp]. \\(restaurant.rating) stars, \\(restaurant.cuisine) cuisine.&quot;\n    let activityVC = UIActivityViewController(\n        activityItems: [message, components.url!],\n        applicationActivities: nil\n    )\n    present(activityVC, animated: true)\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Share Menu Items<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Individual dish sharing is a strong growth channel:<\/p>\n\n\n\n<pre><code>&quot;Try the Truffle Mushroom Pizza from Pizza Palace: https:\/\/yourapp.com\/restaurants\/pizza-palace\/menu\/truffle-mushroom-pizza&quot;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The web fallback shows the dish with photos, description, price, and an &quot;Order in App&quot; CTA.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">QR Code Integration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">In-Restaurant QR Codes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">QR codes at restaurant tables link directly to the menu in the app:<\/p>\n\n\n\n<pre><code>QR at table \u2192 https:\/\/yourapp.com\/restaurants\/pizza-palace\/menu?table=5&amp;dine_in=true\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The deep link handler detects dine-in mode and adjusts the experience:<\/p>\n\n\n\n<pre><code class=\"language-kotlin\">fun handleMenuDeepLink(uri: Uri) {\n    val restaurantSlug = uri.pathSegments.getOrNull(1) ?: return\n    val table = uri.getQueryParameter(&quot;table&quot;)\n    val isDineIn = uri.getQueryParameter(&quot;dine_in&quot;) == &quot;true&quot;\n\n    if (isDineIn &amp;&amp; table != null) {\n        \/\/ Dine-in mode: order to table, no delivery needed\n        sessionManager.setDineInMode(restaurantSlug, table)\n        navigateToMenu(restaurantSlug, mode = DineInMode(table))\n    } else {\n        \/\/ Regular delivery\/takeout mode\n        navigateToMenu(restaurantSlug, mode = DeliveryMode())\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Structured Data for Food Content<\/h2>\n\n\n\n<pre><code class=\"language-html\">&lt;script type=&quot;application\/ld+json&quot;&gt;\n{\n  &quot;@context&quot;: &quot;https:\/\/schema.org&quot;,\n  &quot;@type&quot;: &quot;Restaurant&quot;,\n  &quot;name&quot;: &quot;Pizza Palace&quot;,\n  &quot;servesCuisine&quot;: &quot;Italian&quot;,\n  &quot;address&quot;: {\n    &quot;@type&quot;: &quot;PostalAddress&quot;,\n    &quot;streetAddress&quot;: &quot;123 Main St&quot;,\n    &quot;addressLocality&quot;: &quot;San Francisco&quot;,\n    &quot;addressRegion&quot;: &quot;CA&quot;\n  },\n  &quot;aggregateRating&quot;: {\n    &quot;@type&quot;: &quot;AggregateRating&quot;,\n    &quot;ratingValue&quot;: &quot;4.5&quot;,\n    &quot;reviewCount&quot;: &quot;234&quot;\n  },\n  &quot;menu&quot;: &quot;https:\/\/yourapp.com\/restaurants\/pizza-palace\/menu&quot;,\n  &quot;potentialAction&quot;: {\n    &quot;@type&quot;: &quot;OrderAction&quot;,\n    &quot;target&quot;: &quot;https:\/\/yourapp.com\/restaurants\/pizza-palace&quot;\n  }\n}\n&lt;\/script&gt;\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Tolinku for Food Delivery<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/tolinku.com\/features\/deep-linking\">Tolinku<\/a> handles deep link routing for food delivery apps. Configure routes like <code>\/restaurants\/:slug\/menu\/:item<\/code> in the <a href=\"https:\/\/tolinku.com\/docs\/concepts\/deep-linking\/\">Tolinku dashboard<\/a>, and Tolinku routes users to the app or web fallback with promotional and location context preserved through the install flow via deferred deep linking.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For QR code strategies at restaurants, see <a href=\"https:\/\/tolinku.com\/blog\/qr-codes-restaurants\/\">QR codes for restaurants and food apps<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mettez en place des liens profonds pour les applications de livraison de repas. Ciblez les restaurants, les menus, le suivi des commandes et les offres promotionnelles avec des liens qui transportent le contexte.<\/p>","protected":false},"author":2,"featured_media":3200,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"Deep Linking for Food Delivery Apps","rank_math_description":"Implement deep linking for food delivery apps. Link to restaurants, menus, order tracking, and promotional offers with context-aware deep links.","rank_math_focus_keyword":"deep linking food delivery","rank_math_canonical_url":"","rank_math_facebook_title":"","rank_math_facebook_description":"","rank_math_facebook_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-deep-linking-food-delivery.png","rank_math_facebook_image_id":"1571","rank_math_twitter_title":"","rank_math_twitter_description":"","rank_math_twitter_image":"https:\/\/tolinku.com\/wp-content\/uploads\/2026\/03\/og-deep-linking-food-delivery.png","footnotes":""},"categories":[11],"tags":[20,58,439,69,289,441,196,440],"class_list":["post-1572","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deep-linking","tag-deep-linking","tag-e-commerce","tag-food-delivery","tag-mobile-development","tag-notifications","tag-order-tracking","tag-promotions","tag-restaurants"],"_links":{"self":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/posts\/1572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/comments?post=1572"}],"version-history":[{"count":4,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/posts\/1572\/revisions"}],"predecessor-version":[{"id":2748,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/posts\/1572\/revisions\/2748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/media\/3200"}],"wp:attachment":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/media?parent=1572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/categories?post=1572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/tags?post=1572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}