- 25 May 2022
- 2 Minutes to read
- Print
- DarkLight
How to Link Users to a Specific Page Upon Sign In
- Updated on 25 May 2022
- 2 Minutes to read
- Print
- DarkLight
If you just released a new Course, and want to link users right to it just after they sign in, so that they don’t need to go clicking around to search for it, here is an easy way to do that. Using this format below, you can deep link a user to any page; a course, a chapter, etc.
Below I’ll show you how to build this URL to send your users in three quick steps.
#1: Redirect URL function
Start with this URL:
https://vt.lightspeedvt.com/share/redirect.cfm?
This is the specific URL that tells LSVT to “redirect” this user somewhere. Be sure to include the ? (question mark) at the end, this tells the web browser that there are URL parameters included in this URL next.
#2: The Sign In URL
Since LSVT let’s you private label multiple Sign In Pages for your users, you need to indicate which Sign In Page you want to send you user to, this parameter in the URL is noted as “signInURL= ” and just copy and paste your Sign In Page URL here. I’ll use the ACME Demo example of: https://acmevt.lightspeedvt.com
So My URL so far will look like this:
https://vt.lightspeedvt.com/share/redirect.cfm?signInURL=https://acmevt.lightspeedvt.com
#3 The Destination URL
This is the URL that you want your user to link right to, and add this parameter to your URL, and be sure to put the “&” sign in the URL, this tells the web browser that there is another URL parameter included in this URL next. This parameter in the URL is noted as “dest=” for “destination” and just copy and paste your destination URL after it. This can be any page in LSVT; a course, a chapter, the File Vault, etc. If a user hits this URL and they don’t have access to that page or piece of content, it will merely tell them that they don’t have access. This is obviously so you can’t accidentally, or purposely, link users to content they don’t have privileges to. Here is an example URL to a chapter in the ACME Demo: https://vt.lightspeedvt.com/trainingCenter/course/36851/chapter/193776
Final Result
So, my final URL with all three parts looks like this:
https://vt.lightspeedvt.com/share/redirect.cfm?signInURL=https://acmevt.lightspeedvt.com&dest=https://vt.lightspeedvt.com/trainingCenter/course/36851/chapter/193776
The final result when a user clicks on this URL is that they will be taken to the Sign In Page, then once they successfully sign in, it will auto advance them to this URL.
Trick: Use a tool like Bitly.com to shorten your URLs for sending as an SMS TXT. The URL above that has been shortened by Bitly looks like this.
if you are wanting to send a user to a deep link page that has lots of URL parameters in the deep link, like this example, where it will go to a Users Report Card for a Specific Chapter:
Desired Destination is:
https://vt.lightspeedvt.com/report_card/report_card.cfm?Action=ShowChapter&WhichUsers=000000&ChID=000000&CoID=000000
(I used “000000” for all of the unique ID numbers in the URL above)
You will want to URL Encode the “dest=” value, or the “Destination URL” so that the special characters of: “?” (question mark) and “&” (amperssand) and “=” (equal sign) are encoded. Here is an easy web based tool where you can ‘paste’ in your Destination URL, then click ENCODE and then ‘copy’ the resulting Encoded URL and use it.
https://meyerweb.com/eric/tools/dencoder/
And the result will look like this:
https%3A%2F%2Fvt.lightspeedvt.com%2Freport_card%2Freport_card.cfm%3FAction%3DShowChapter%26WhichUsers%3D000000%26ChID%3D000000%26CoID%3D000000
So then your full example will look like this:
https://vt.lightspeedvt.com/share/redirect.cfm?signInURL=https://lsvtlogin.lightspeedvt.com&dest=https%3A%2F%2Fvt.lightspeedvt.com%2Freport_card%2Freport_card.cfm%3FAction%3DShowChapter%26WhichUsers%3D000000%26ChID%3D000000%26CoID%3D000000