Announcement

Collapse
No announcement yet.

Anyway of tracking 'logged in' users?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Anyway of tracking 'logged in' users?

    We are currently using V8.5 of Actinic Business and we have a few hundred registered users who have access to 'trade' pricing.

    We would like to know how often these people log in to the site etc. Not interested in 'actual' purchases as that already exits in reports.

    Is there any way of getting this kind of information out of Actinic? Or perhaps a certain page or string I can search for in the 'proper' web statistics available from the hosting company?

    #2
    Hi Ben

    As far as I'm aware there is no such facility from within the Actinic software. I'll run this by development and see if they can shed some light on it. When I hear from them I'll get back to you.

    Kind Regards
    Kiran Chandran
    Technical Support - SellerDeck
    http://www.sellerdeck.co.uk/

    Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

    Comment


      #3
      Hi Kiran,

      Thanks, it would be a most useful feature.

      Ben

      Comment


        #4
        Ben,

        Try this....

        - open 'Windows Explorer' and browse to 'c:\program files\actinic v8\sites\<site name>' or 'cocuments and Settings\User**\My Documents\actinic v8\sites\<site name>' depending on the version you are on.

        - locate 'ACTINIC.pm' and take a backup
        - open the file in a text editor such as notepad and locate:

        Code:
        CAccLogin - User login
        - you should see:
        Code:
         #######################################################
        # CAccLogin - User login
        # No arguments
        - directly before this copy and paste the following code:
        Code:
        #######################################################
        # AccountLogFile
        # Designed to take customer a/c details into a log file
        #######################################################
        sub AccountLogFile
            {
            my ($pBuyer) = shift;
            my $sFilename = GetPath() . "customer_account.log";
            my $bDoHeader = !-e $sFilename;
            #
            # The log file is a comma separated file which contain the following 
            # items:
            #
            #     0 - date/time
            #     1 - browser name or IP address
            #     3 - customer ID
            #    4 - buyer ID
            #    5 - buyer name
            #
            open (LOGFILE, ">>" . $sFilename);
            #
            # If the file doesn't exist then create its header
            #
            if ($bDoHeader)    
                {
                print LOGFILE "Version: $::EC_MAJOR_VERSION\nDate, Remote host, Customer ID, Buyer ID, Buyer Name\n";
                }
            print LOGFILE ACTINIC::GetActinicDate();
            print LOGFILE ", ";
            print LOGFILE (length $::ENV{REMOTE_HOST} > 0 ? $::ENV{REMOTE_HOST} : $::ENV{REMOTE_ADDR});
            print LOGFILE ", ";
            print LOGFILE $$pBuyer{AccountID};
            print LOGFILE ", ";
            print LOGFILE $$pBuyer{ID};
            print LOGFILE ", ";
            print LOGFILE $$pBuyer{Name};
            print LOGFILE "\n";
            close LOGFILE;    
            }
        - then search for:

        Code:
         $::Session->SetDigest($sDigest);
        and you should see:

        Code:
         if($bLoggingIn)
                    {
                    ($Status, $sMessage) = CaccSetCheckoutFields($pBuyer, $pAccount);
                    if($Status != $::SUCCESS)
                        {
                        ACTINIC::ReportError($sMessage, ACTINIC::GetPath());
                        }
                    $::Session->SetDigest($sDigest);
        - copy and paste the following onto a new line after the above:

        Code:
         ACTINIC::AccountLogFile($pBuyer); # Log file for the customer account.
        - close and save the file and upload your site
        - this will then create a file called 'customer_account.log' in the 'acatalog' folder on your server.

        Let me know if this helps.

        Kind regards,
        Bruce King
        SellerDeck

        Comment


          #5
          This seems to create an entry in the log for every page viewed. Is it possible to also record the page viewed?

          Comment


            #6
            Hi,

            After talking to our development team about this, I'm told that the log file here is only a very basic file and we can't add the page viewed to it. A stats package may work better for you if you want to capture more information.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              Hi Tracey,

              Thanks for checking.

              Comment


                #8
                Just throwing my hat into the ring....what about developing some EPI coding and implement it to your members via php/Mysql plug in adaption?

                Pretty much the same process as the affiliate tracking uses.

                HTH
                Affordable solutions for busy professionals.
                Website Maintenance | UK Web Hosting

                Comment


                  #9
                  Missing ACTINIC file . . .

                  Hi - I tried this not knowing that I do not have an "ACTINIC" file on my server. Can I just "add" the file under my web domain? All of the programming has already been added to the appropriate ACTINIC.PM file.

                  MUCH THANKS!
                  Mark T

                  Comment


                    #10
                    Mark

                    You shouldn't do anything on your server. Make changes to ACTINIC.pm in your Site folder. Actinic will automatically upload these at the next Upload or Refresh.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      No ACATALOG file . . .

                      Sorry my mistake, I do NOT HAVE an Acatalog file on my server - can I just create one?

                      Thanks -
                      Mark T

                      Comment


                        #12
                        Will the information in the file be on my computer when I download?

                        Or, will it be on the remoter server? Where should I look for the .log file - my computer or online at my remote server?

                        Thanks!

                        Comment


                          #13
                          Mark

                          I assume you're trying to follow post #4 above. This was written in 2007 when the only place actinic uploaded onto your web-server was a folder called "acatalog".

                          That is where it still does today unless you've chosen to rename it via Web / Network Setup / Common Settings / Online Store Folder Name. If you've renamed it, then the new folder name is the place to look on your server.

                          Also, in all the above "server" means the internet facing web-server that you customers look at your web-site on.
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            Originally posted by Mark T View Post
                            ...I do NOT HAVE an Acatalog file on my server - can I just create one?...
                            No just modify the one that is on your PC in the SIte1 folder then upload the Actinic store again.

                            Originally posted by Mark T View Post
                            ...Where should I look for the .log file - my computer or online at my remote server?...
                            The log file will be in the acatalog folder on your live site. You will need to FTP manually to that folder and download the file occasionally and look at it in notepad or similar.

                            Comment


                              #15
                              No file after upload . . .

                              Hi Folks, bear with me as, after having followed the instructions, I cannot find the new folder, nor an "acatalog" file, nor have I renamed the file to anything else. Not sure what might be happening - I have Vista, and used the logic tree to locate the pertinent site1 file and ACTINIC.PM file which I did modify according to instruction. The only thing that I might have not completed correctly is the exact placement of the last line. Is this line to be input before or after the previous code "}" mark? Maybe this is the issue??

                              Thanks for all the help!
                              Mark T

                              Comment

                              Working...
                              X