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.

Parameters:

i4w_autologin=abc123 This sets the action to be performed.
force_login=abc123 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.yousite.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:

http://www.yoursite.com/?i4w_autologin=abc123
http://www.yoursite.com/?i4w_autologin=abc123&redir=http://www.yoursite.com/thankyou
http://www.yoursite.com/?i4w_autologin=abc123&tid=234&redir=http://www.yoursite.com/thankyou
http://www.yoursite.com/?i4w_autologin=abc123&force_login=abc123&redir=http://www.yoursite.com/thankyou
http://www.yoursite.com/?i4w_autologin=abc123&tid=234&nofirstlogin=1&redir=http://www.yoursite.com/thankyou

Notes:

In all examples provided, ‘abc123’ stand for the first six characters of your Infusionsoft API key. 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:

Id ~Contact.Id~
contactId ~Contact.Id~
ContactId ~Contact.Id~
Contact0Id ~Contact.Id~