smatin / smt2

Automatically exported from code.google.com/p/smt2
0 stars 0 forks source link

no tracking #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After installation without any errors. I see this for tracking code: 
<script type="text/javascript" 
src="http://localhost/smt2/core/js/smt2e.min.js"></script>
<script type="text/javascript">
try { 
  smt2.record();
} catch(err) {} 
</script>

The problem is that this file "smt2e.min.js" as referenced in the tracking  
code is not to be found in the installation at specified location.

I have placed it on two different servers with same result. No tracking 
happens. I then looked in to the read file at online wiki and had used this  
instead: 

 <script type="text/javascript" src="/smt2/core/js/smt-aux.min.js"></script>  
  <script type="text/javascript" src="/smt2/core/js/smt-record.min.js"></script>
  <script type="text/javascript">
  try {
    smt2.record({
      recTime: 300,
      disabled: Math.round(Math.random()),
      warn: true, 
      warnText: "We are going to record your mouse movements for a remote usability study."
    });
  } catch(err) {}
  </script>

Even this leads to no tracking. At the moment i am not sure what could be 
wrong. 

I have already gone through the checklist and there are no issues with them. I 
have cache folder permission set to 777.

Let me know what the next steps are. 

thanks

Rohit

Original issue reported on code.google.com by nlivenc...@gmail.com on 31 Oct 2013 at 9:52

GoogleCodeExporter commented 9 years ago
First of all, the script `smt2e.min.js` is missing. Thanks for bringing this to 
my attention. I'll add it ASAP to the repo.

Meanwhile, you can use your code snippet above. To ensure that it is working, 
(1) set `disabled: 0` inside `smt2.record()` and (2) use a different browser 
from the one you installed smt2, since there is a cookie that prevents *you* 
from being recorded.

Original comment by luis.lei...@gmail.com on 31 Oct 2013 at 10:34

GoogleCodeExporter commented 9 years ago
Hi,

It would be great if you can let me know when its done. Thanks in advance .

Rohit

Original comment by nlivenc...@gmail.com on 1 Nov 2013 at 7:31

GoogleCodeExporter commented 9 years ago
I've committed a number of changes. You can now give it a try.

Original comment by luis.lei...@gmail.com on 1 Nov 2013 at 12:29

GoogleCodeExporter commented 9 years ago
Hi,

I updated the the source files on the server and that file error is not
there anymore. But for some reason tracking is not working at all. I have
gone through the checklist multiple times but cannot find a reason as to
why it may not be working. I have tried on different computers and
different browsers. Here is where i am testing

http://nliventech.net/demo/smt2/
http://nliventech.net/demo/smt2/testme.html

I noticed the demo on the google code page uses different script for
tracking then the latest source. If you can tell me what else to look at it
would be helpful.

Original comment by nlivenc...@gmail.com on 7 Nov 2013 at 5:59

GoogleCodeExporter commented 9 years ago
I've looked at your test page and I've noticed that your `smt2` dir is inside a 
`demo` dir, so you should correct that in your script src, i.e., 
`<script type="text/javascript" src="/demo/smt2/core/js/smt2e.min.js"></script>`

Original comment by luis.lei...@gmail.com on 7 Nov 2013 at 8:28

GoogleCodeExporter commented 9 years ago
Have done that and when i open the test page the alert "We are going to record 
you mouse...." starts to appear but still cannot see the recording logs in 
admin section. Let me know any thing else needs to be done to start recording 
the mouse movements

Original comment by dubeypiy...@gmail.com on 7 Nov 2013 at 1:08

GoogleCodeExporter commented 9 years ago
Some files have been upgraded. Please update and check again.

Original comment by luis.lei...@gmail.com on 8 Nov 2013 at 8:33

GoogleCodeExporter commented 9 years ago
I did upgrade and it seems to be working now although with some errors. It
seems to be tracking now however when i am trying to load the video it
throws this error : API file not found! . Url with error is
/smt2/admin/ext/tracking-report/track.php?id=3 . Does not matter which id
it is, i get the same error.

Original comment by nlivenc...@gmail.com on 9 Nov 2013 at 7:40

GoogleCodeExporter commented 9 years ago
I cannot reproduce that error. I've checked out the latest source code and it 
is working. Could you give me a user account for your smt2 admin site, so that 
I can take a closer look at it? You can do so under Users tab, by filling in 
the 'Create new user' form.

Original comment by luis.lei...@gmail.com on 10 Nov 2013 at 7:25

GoogleCodeExporter commented 9 years ago
By the way, the URL /smt2/admin/ext/tracking-report/ is outdated and in fact 
was removed from the repo. You can see all available sections here:
https://code.google.com/p/smt2/source/browse/#svn%2Ftrunk%2Fadmin%2Fext

Therefore, use /smt2/admin/ext/admin-logs/track.php?id=3 instead.

Original comment by luis.lei...@gmail.com on 10 Nov 2013 at 7:32

GoogleCodeExporter commented 9 years ago
Thats what the problem is. My links are coming up as
http://nliventech.net/demo/smt2/admin/ext/tracking-report/track.php?id=1

I have created a user

login: smt2
password: testsmt2

I seem to be having the latest file but still the button under action tab
seems to be having http://nliventech.net/demo/smt2/admin/ext/
*tracking-report*/track.php?id=1 instead of
/smt2/admin/ext/*admin-logs*/track.php?id=3

Original comment by nlivenc...@gmail.com on 11 Nov 2013 at 7:29

GoogleCodeExporter commented 9 years ago
Your smt2 login cannot access any admin section, you should assign it some 
admin-like role if you want me to help you -- see 
https://code.google.com/p/smt2/wiki/roles.

Anyway, I believe you just have to remove /smt2/admin/ext/tracking-report and 
access /smt2/admin/ext/admin-logs instead. This way links and buttons will work 
as expected.

Original comment by luis.lei...@gmail.com on 11 Nov 2013 at 9:29

GoogleCodeExporter commented 9 years ago
I see nothing under admin logs currently. I do see reports under tracking
though. I have updated login to admin so you can check too.

Original comment by nlivenc...@gmail.com on 11 Nov 2013 at 9:56

GoogleCodeExporter commented 9 years ago
It seems there is a PHP error while accessing your Admin logs section. Could 
you enable PHP's error reporting? Perhaps you'll need to edit your php.ini file.

Original comment by luis.lei...@gmail.com on 11 Nov 2013 at 11:05

GoogleCodeExporter commented 9 years ago
I'm closing this issue since there has been no activity in 4 months.

Original comment by luis.lei...@gmail.com on 12 Mar 2014 at 9:26