Website design & e-marketing solutions, Phuket, Thailand Website design & e-marketing solutions in Phuket, Thailand

SUPPORT >> SMARTERSTATS >> AUTOLOGIN SCRIPT

How do I create an autologin script for SmarterStats?

The following article explains how to create an autologin script that will automatically log you into your SmarterStats account when you click on a link. This script can be added to a new or existing page in your website.

To create the autologin script, please follow these steps:

  1. Using a text editor, open the page where you will add the autologin script.
  2. Enter the following lines of code:
  3. <SCRIPT LANGUAGE= "JavaScript">
    function GoToStats() {
    document.statsform.submit();
    }
    </SCRIPT>

    <body>

    <form name= "statsform" action= "http://smarterstats#.safesecureweb.com/login.aspx" method= "post">
    <input type= "hidden" name= "shortcutLink" value= "autologin" id= "shortcutLink">
    <input type= "hidden" name= "txtSiteID" id= "txtSiteID" value= "siteID or domain name">
    <input type= "hidden" name= "txtUser" id= "txtUser" value= "username">
    <input type= "hidden" name= "txtPass" id= "txtPass" value= "password">
    </form>

    <p><a href= "JavaScript:GoToStats()"> See Your Stats</a></p>

  4. Save your work and close the text editor.

 

Website design
Email Marketing
Multimedia Presentations
Copywriting

Home to website design & e-marketing solutions in Phuket, Thailand E-marketing and Web Hosting Support Email us to learn more about our website design & e-marketing solutions in Phuket, Thailand
© 2006 Zighead Communications Co., Ltd. All Rights Reserved.