i4w_autologin
Usage
This module enables you to send your subscribers to a "Thank You page" and have them automatically log in.
For security reasons, this automatic login will only under specific conditions (invoice payment verification) unless the "force_login" is specified.
Unless the "force_login" option is used, the call to this module must be made following the completion of an order form.
This module will auto-generate a password for contacts who do not yet have one. A default, non-random password may also be defined. See the parameter list for more information.
Just as a user can share his/her password with others, an autologin link can also be shared. As such, it is neither safer nor less safe than a regular, manual login.
Autologin can be enabled or disabled in the Module Settings. It is enabled by default.
A Secure Mode is also available which requires both email and id to be passed via the autologin URL. When enabled, iMember360 performs a cross-check in Keap to verify that the email matches the corresponding contact ID. Secure Mode is disabled by default for backwards compatibility.
Parameters
| Parameter | Value | Description |
|---|---|---|
| i4w_autologin | YOUR_SECURITY_KEY | This sets the action to be performed. |
| force_login | YOUR_SECURITY_KEY | Additional parameter to bypass invoice and order processing verification. This makes the autologin less safe and should only be used if you have no safety concerns. |
| tid | 234 | Additional parameter to force the plugin to assign the user a given tag ID. This has become necessary due to the slowness of the new "Campaign Builder". |
| default_pass | secret | This defines a default password for all users who do not yet have a password in their contact record. You may define any word of your choice. |
| nofirstlogin | x | Any value can be specified, enabling you to override the "Page redirect on FIRST login" set in the "Plugin Options" panel. |
| redir | http://www.yoursite.com/thankyou/ | This specifies an alternate landing page upon login. Please note that most browsers will not correctly interpret the "redir" URL unless it is placed last in the URL. |
Example
- Basic
- With Redirect
- With Tag
- Force Login
- No First Login
https://www.yoursite.com/?i4w_autologin=YOUR_SECURITY_KEY
https://www.yoursite.com/?i4w_autologin=YOUR_SECURITY_KEY&redir=http://www.yoursite.com/thankyou
https://www.yoursite.com/?i4w_autologin=YOUR_SECURITY_KEY&tid=234&redir=http://www.yoursite.com/thankyou
https://www.yoursite.com/?i4w_autologin=YOUR_SECURITY_KEY&force_login=YOUR_SECURITY_KEY&redir=http://www.yoursite.com/thankyou
https://www.yoursite.com/?i4w_autologin=YOUR_SECURITY_KEY&tid=234&nofirstlogin=1&redir=http://www.yoursite.com/thankyou
Notes
In all examples provided, YOUR_SECURITY_KEY stand for the security key defined under plugin options. These are used to authenticate the request.
When using this module in an Order Form, apply the syntax as above and ensure that you've checked the "Pass contact…" option.
When using this module in a Web Form, apply the syntax as above, using the "force_login" option.
When used in an email with conjunction with automation links, use as described above. In the automation link, select "More options" and choose to pass the ID.
When used in an email without automation links, use as described above and add "&Id=Contact.Id" in the URL. Please ensure that it's insert before the "redir" parameter, which should always be last.
The new "Campaign Builder" HTTP POST do not automatically send the contact record data for processing. Individual value pairs must now be specified. In this case, the required value pair is either of the following:
| Parameter | Keap Merge Field |
|---|---|
| Id | ~Contact.Id~ |
| contactId | ~Contact.Id~ |
| ContactId | ~Contact.Id~ |
| Contact0Id | ~Contact.Id~ |