yisi23/smt2

Import Logs and session lifetime

GoogleCodeExporter opened this issue · 7 comments

Hey,

2 Issues

1: I can't Import the Log Data Analysis combined with the User Log in the same 
CSV or even a separated CSV. Is there any possibility to do so? It would take 
lots of time to match the needed metrics manually. 

2: Is there any possibility to set the session/cookie lifetime manually? I 
can't match all the Date from the same User because the User id changes after a 
certain time. 

I'm sry for the demanded time but i can't solve that issues by my own. 

Many thanks in advance  


Original issue reported on code.google.com by mailsve...@googlemail.com on 6 Nov 2014 at 10:15

1: Logs can't be imported, only exported. You can (manually) use the filter 
options in the "admin logs" section at the CMS. Otherwise you'll get 
(automatically) everything in a single CSV.

2: You can set the property 'cookieDays' in smt2.record function. Please read 
the wiki: https://code.google.com/p/smt2/wiki/readme

Original comment by luis.lei...@gmail.com on 6 Nov 2014 at 10:19

  • Changed state: WontFix
Sry i meant export. If i export in the "admin logs" there is not everything
in the generated CSV. E.g. Activity, Scroll Reach and some other Metrics
out of the "log Data Analysis" section are missing in that CSV. My Q was if
there is any possibility to integrate this Metrics in the "admin logs" CSV?
Sry for missunderstanding and thanks for the very fast answer.



2014-11-06 11:19 GMT+01:00 <smt2@googlecode.com>:

Original comment by mailsve...@googlemail.com on 6 Nov 2014 at 10:35

Actually, all metrics in the "log data analysis" section are computed from the 
raw data, the same data that you get with when you export the logs.

I'm afraid that you'll have to dig through the source code to see how each 
metric is computed.

Original comment by luis.lei...@gmail.com on 6 Nov 2014 at 5:53

Thats what i was afraid of ^^ but thanks for the clarification. Keep up the 
good work 

Von meinem iPhone gesendet

Original comment by mailsve...@googlemail.com on 7 Nov 2014 at 9:10

Hey,

I got one last Question :)
How can I reset the Page Id auto Increment so it starts at 0/1 again?

It is not writing the Page Ids in the database correct? So I cant just
truncate the relevant Data Base.

Thank you so much

Sven

2014-11-07 10:10 GMT+01:00 <mailsvend1@googlemail.com>:

Original comment by mailsve...@googlemail.com on 28 Nov 2014 at 12:57

There isn't a dedicated option to reset database tables, however you can do 2 
things:
  1) Access your MySQL shell and execute: `TRUNCATE TABLE smt2_records`
  2) Browse admin/sys/uninstall.php, then install smt2e again.

Hope that helps.

Original comment by luis.lei...@gmail.com on 28 Nov 2014 at 2:58

Hey, sry for the delay i was on vacation.
The Page_id/cache_id isn't written into the database. If i execute `TRUNCATE
TABLE smt2_records` the page_id still continues counting up.
I guess it is implemented somewhere in the code --> if new page_url then
page_id ++ or something like that. The Problem is that i cant found where
this is done and how i can reset this counter. Maybe you know what i mean.
And could you pls tell me how this page_id works. I got some problems wit
my urls. I need to separate the Data concerning the different pages of my
domain. But sometimes it gives Urls which allready got an Page_id another
one so i cant differentiate due to the page id. There are no Parameters in
my Urls, they are all generic. Do you have any glue why this can happen?

I'm really thankfull for help and i guess this is the last time i need it :)

Great tool btw

Sven

2014-11-28 15:58 GMT+01:00 <smt2@googlecode.com>:

Original comment by mailsve...@googlemail.com on 5 Dec 2014 at 8:58