If you would like to test whether your users will enter personal information onto a custom webpage, you can create your own data entry landing page. You can also create a secondary landing page that will display if your users submit information on the first data entry landing page. Then, you can add your landing pages to a phishing template.
For general information about data entry landing pages, see our How to Use Data Entry Landing Pages article.
Creating a Data Entry Form
To create a data entry form, follow the steps below:
- Log in to your KnowBe4 account and navigate to Phishing > Landing Pages.
- Click the + Create Landing Page button to add a new landing page. Or, if you would like to edit an existing landing page, click the name of the landing page.
- In the top-left corner of the What You See Is What You Get (WYSIWYG) editor, click the Source button. When you click this button, you will be able to enter HTML or CSS to create your data entry form.
- Create your data entry form. For an example of a data entry form, see the code below:
<form action="https://www.example.com" id="loginform" method="post" name="loginform"><input name="username" placeholder="Email Address" required="" type="text" /><br /> <input id="password" name="password" placeholder="Password" required="" type="password" /><br /> <input type="submit" value="Login" /> </form>
Important:We don't record any data that your users enter onto the landing page. No data is stored on our servers, including logs, as long as the form field names follow strict naming conventions. For the form field names, you must use one of the following names: password, password_confirmation, old_password, credit_card, ssn, social_security_number, domain_name, uname, number, verification_value, or brand. - To ensure all submitted data is obfuscated correctly, add the following script to the source code:
<script> jQuery(function($) { $('#loginform').submit(function() { var txt = $('#password'); txt.val("*******"); }); function display(msg) { $('<p/>').html(msg).appendTo(document.body); } }); </script>
Important:For the script to work properly, the name and ID for the login form and password input field must match the ID used in the script function. In the code examples above, the name and ID for the login form are highlighted in red. The name and ID for the password input field are highlighted in blue. - After you have created your form, click the Save button.
Adding a Secondary Landing Page
When you create your data entry landing page, you can also add a secondary landing page. Your users will see this page if they enter and submit data on the data entry landing page. The secondary landing page can be any landing page in your account. For example, you could use another landing page that you’ve created in your account or one of our pre-made landing pages.
To add a secondary landing page to the data entry landing page that you’ve created, follow the steps below:
- Repeat steps 1-3 in the Creating a Data Entry Form section above.
- Create your data entry form. In the action tag, enter the URL for the secondary landing page. For an example of where to include the URL for the secondary landing page, see the example code below:
<form action="https://www.example.com" id="loginform" method="post" name="loginform"><input name="username" placeholder="Email Address" required="" type="text" /><br /> <input id="password" name="password" placeholder="Password" required="" type="password" /><br /> <input type="submit" value="Login" /> </form>
- Click the Save button.
Adding the Landing Page to a Phishing Template
Once you have created your data entry landing page, you can add the landing page to a phishing template.
To add your data entry landing page to a phishing template, follow the steps below:
- Log in to your KnowBe4 account and navigate to Phishing > Email Templates.
- Click the name of the phishing template that you would like to add the data entry landing page to.
Important:To use your data entry landing page, you must select a phishing template that includes at least one link in the body of the email. Phishing templates that include a link will have a (Link) tag in the template name.
- At the bottom of the phishing template, select your landing page from the Landing Page drop-down menu.
- Click the Save button.
After you add your landing page to the phishing template, you can add the phishing template to a phishing campaign. You can use this campaign to test your users and see how likely they are to enter data onto a landing page.