You can use links in your training notifications to direct your users to webpages, including the KnowBe4 login page. Adding links will give your users quick access to their training, or to any other page that you would like them to access. To learn how to add links to your training notifications, see the sections below.
Adding Login Links to Existing Training Notifications
If you're editing an existing training notification and would like to add a login link that your users can click so that they can log in to take their training, follow the steps below:
- Select the LOGIN_LINK option from the Placeholder drop-down menu in the WYSIWYG (What You See Is What You Get) editor. This text typically looks like "[[LOGIN_LINK]]?email=[[email]]".
- Click the Link button.
- From the Link Type drop-down menu, select URL. For Protocol, select Other.
- Click OK to apply the login link to the template.
Adding Any Links to New or Existing Training Notifications
There are two methods that you can use to add links to existing training notifications. You can add links using the WYSIWYG editor or by editing the source code of the notification directly.
To get started with either of these methods, navigate to Training > Notification Templates, then open the training notification template that you would like to modify. You can also create a new template by clicking the New Training Notification Template button.
Then, if you would like to add the link using the WYSIWYG editor, follow the steps below:
- Click the Link icon in the WYSIWYG editor toolbar.
- In the Link pop-up window, select the Link Info tab and fill in the following fields to create your link:
-
Display Text: In this field, enter the text that you would like to display in place of the URL.
- If you are using a URL link type and you leave this field blank, the URL you renter in the URL field will automatically display in place of the display text.
- If you are using the Link to anchor in the text option under Link Type and leave this field blank, the name of the anchor will display in place of the display text. This Link Type is not typically used in training notifications.
- If you are using an E-mail link type and leave this field blank, the display text will automatically populate as the e-mail address entered in the E-mail Address field.
-
Link Type: This is the type of content your link navigates to. There are three options to choose from:
- URL
- Link to anchor in the text
-
Protocol: This field will be visible if a URL link type is selected. The protocol indicates how your request is transmitted or transferred. There are five options to choose from:
- http://
- https://
- ftp://
- news://
- <other>
- URL: This field will be visible if a URL link type is selected.
-
Display Text: In this field, enter the text that you would like to display in place of the URL.
- Once you have filled out all of the fields, click OK. Your link will be visible in the body of the training notification template.
The second way to add links is through the source code. The source code is where you can customize templates using HTML. To add a link in the source code, follow the steps below:
- Click the Source icon in the top-left corner of the WYSIWYG editor toolbar.
- Add the link to the source code by using the >a> tag. For an example and brief description of a link in source code, see below:
<a href=" ">This is my link!</a>
- <a>The opening <a> tag indicates the start of a link.
- </a>The closing <a> tag indicates the end of a link.
- href=" "The hypertext reference (href) indicates the link’s destination. You want to place the web address, or URL, of your link inside the quotation marks. For example, <a href=”yourorganizationswebsite.com”>
- This is my link!The display text goes between the open and closed <a> tags. It can be a URL or descriptive text.
To learn more about creating links in HTML, see w3 school’s HTML a Tag page.
Wrapping Training Notification Placeholders in Links for New or Existing Training Notifications
In your training notifications, you may want to wrap the Login or Passwordless Login placeholders in a link.
There are two ways to wrap placeholders in your notifications. Linking a training notification placeholder can be done from the Link pop-up window or by adding a placeholder to the Training Notification Template with the Source option.
To link a training notification placeholder using the Link pop-up window, we recommend that you use the settings below:
- Display Text: [[PASSWORD-LESS_LOGIN_LINK]]
- Link Type: URL
- Protocol: <other>
- URL: [[PASSWORD-LESS_LOGIN_LINK]]
To link a training notification placeholder from within the source code, you'll need to wrap the placeholder in HTML. To do wrap the placeholder in html, apply the HTML <a> tag. For the “href”, enter the placeholder between the quotation marks. See the example below:
<a href=“[[LOGIN_LINK]]?email=[[EMAIL]]">Click here to log in for training!>/a>
In the example above, the [[LOGIN_LINK]] placeholder will navigate the user to the KnowBe4 training login page. Adding our [[EMAIL]] placeholder will make the link unique to the user, as it will populate their email address in the Email field on the login page.