What is Deep Linking?
Deep Linking is a feature that allows you to lead your users directly to your mobile app training environment or a specific course or unit in the app. This is a feature supported by TalentLMS mobile apps.
How does Deep Linking work?
It works by simply tapping a link which then opens the TalentLMS mobile Android or iOS app directly.
This link can be added e.g., to a TalentLMS message, an announcement, a course description, or even a dedicated section on your custom home page or website. It can also be used in physical locations where users can scan a QR code associated with the Deep Link.
In this article, you will learn how to create Deep Links and share them with your users.
Note: Deep Links only work on devices with the TalentLMS mobile app already installed. |
A. Deep Link to your domain’s login screen
B. Deep Link to a specific course
C. Deep Link to a specific unit inside a course
D. Custom app and Deep Linking
A. Link to your domain’s login screen
The format of the TalentLMS Deep Link which will open the app and lead the user to the login screen of your domain is as follows:
talentlms://yourdomain.talentlms.com
talentlms://lms.mycompany.com (if you use a custom domain)
By adding the following HTML to a message, your website, or other examples as previously mentioned, users who have installed the app on their mobile device, will be able to tap it and be instantly redirected to your domain’s login screen (or its content if they are already logged in).
<a href="talentlms://yourdomain.talentlms.com">Login to our domain on your mobile device</a>
Deep Links can point to a specific course in your domain. The format of the TalentLMS link which will open the app and lead the user to a course directly is as follows:
talentlms://yourdomain.talentlms.com/course/<course_id>
These types of links require you to know course IDs. Those can be easily obtained from the TalentLMS website.
Here’s how to construct a mobile Deep Link to a course from a web link:
1. Sign in to your TalentLMS account as an Administrator or an Instructor and go to the page of the course you want to link to.
2. Check your browser’s address bar. It should look similar to this (1):
Web address → https://mytalentportal.talentlms.com/course/edit/id:124
3. To construct the mobile Deep Link, you will first have to change https:// to talentlms:// followed by your domain address and finally by /course/ and the course ID(2):
Mobile Deep Link → talentlms://mytalentportal.talentlms.com/course/124
This is the HTML link to share with your users:
<a href="talentlms://mytalentportal.talentlms.com/course/124"> Access this course on the mobile app</a>
C. Link to a specific unit inside a course
Deep Links can also point to a specific unit in a course in your domain. To create a Deep Link to a specific unit, you will need to know both the ID of that unit, as well as the ID of the course that contains the unit.
The format of the TalentLMS link which will open the app and lead the user to a specific unit inside a course directly, is as follows:
talentlms://yourdomain.talentlms.com/course/<course_id>/unit/<unit_id>
Here’s how to construct a mobile Deep Link to a unit from a web link:
1. Sign in to your TalentLMS account as an Instructor and go to the page of the course you want to link to.
2. Check your browser’s address bar. It should look similar to this (1): https://mytalentportal.talentlms.com/trainer/course/id:124
Note the course’s ID (here, it is 124).
3. Navigate to the unit you want to link to, by selecting it (2).
4. Check your browser’s address bar. It should look similar to this:
https://mytalentportal.talentlms.com/unit/view/id:1995
Note the unit’s ID (3) (here, it is 1995).
5. To construct the mobile Deep Link, use the following format:
talentlms://mytalentportal.talentlms.com/course/124/unit/1995
This is the HTML link to share with your users:
<a href="talentlms://mytalentportal.talentlms.com/course/124/unit/1995"> Access unit on mobile app</a>
D. Deep Linking for your custom TalentLMS app
If your organization uses a custom app based on TalentLMS, it too supports Deep Linking. All the examples mentioned above will work for your custom app in the same way, by changing the talentlms:// prefix to your app’s custom prefix.
Please contact mobileapps@talentlms.com to find out what your app’s prefix is.
Here are some examples with the custom app’s prefix being “mycustomapp”:
Deep Link to lead users into your domain’s login screen:
Web address → https://lms.mycompany.com
Mobile Deep Link → mycustomapp://lms.mycompany.com/
Deep Link to a specific course (with id 124):
Web address → https://lms.mycompany.com/courseinfo/id:124
Mobile Deep Link → mycustomapp://lms.mycompany.com/course/124
Deep Link to a specific unit (with id 1995) of a course (with id 124):
Course Web address → https://lms.mycompany.com/courseinfo/id:124
Unit Web address → https://lms.mycompany.com/unit/view/id:1995
Mobile Deep link → mycustomapp://lms.mycompany.com/course/124/unit/1995