Jump to content

Recommended Posts

Posted

visitorlog.png

Here's a new FrogCode widget:

https://www.frogeducation.com/community/frogcode/frogcode-showcase/visitor-log

We worked with George Bligh from Greenshaw on this widget.  When someone views a page with this widget on, it records their visit.  Anyone with Edit and Manage rights gets a button which displays a list of all visitors, their profile, their children (if a parent), how many times they have visited the site and the time and date of their last visit.

screenshot.PNG

(This widget uses the datastore - a little known about feature of Frog's API.)

 

Updates

This latest version 2.2 includes a "copy to clipboard" button, which allows you to copy the whole table and paste it into a spreadsheet program like Excel.

The second new feature includes the ability to alter the Datastore's reference.  So if you wish to reset the log, instead of deleting the widget and adding it again, you can now change the reference and the information will remain stored.

 

  • Like 1
  • Thanks 2
Posted
Just now, ADT said:

Another Pconk....  o wait a min...  its a @Graham Quince & @gbligh creation......  it probably won't work then...... :P

To be honest, it was @adamw who put the bulk of the work in, but I'm using it as a roadmap to try an understand the datastore - there seems like there's a lot of potential there.

  • 1 month later...
Posted

Actually, just realised it is the api call that resolves uuids into names that is failing.  Can we do it in multiple steps?  Also this probably means we can still get the total number of page hits and unique visitors? Which would be great.

Posted
15 minutes ago, pconkie said:

Actually, just realised it is the api call that resolves uuids into names that is failing.  Can we do it in multiple steps?  Also this probably means we can still get the total number of page hits and unique visitors? Which would be great.

Hi

@Adam fixed it last night.  in fact, during the day he had to spend quite a bit of time dealing with my hacked code.  

The new version is ready and available to download. - George got it last night and it finally worked.

  • 3 months later...
Posted (edited)

Really like this widget - we have it on a number of pages.  But.....

Does this widget record page visits or does it actually record site visits? Not sure which is the designed behaviour, but I think it actually records site visits.  If i'm correct, would be even more powerful if it recorded page visits.

Edited by pconkie
Posted

 

36 minutes ago, pconkie said:

Really like this widget - we have it on a number of pages.  But.....

Does this widget record page visits or does it actually record site visits? Not sure which is the designed behaviour, but I think it actually records site visits.  If i'm correct, would be even more powerful if it recorded page visits.

I honestly can't remember. If I get a moment I will look at the code, but I think that it records page visits. More specifically, I think it uses the widget id as the source. So if you put two on a page, they might show different data.... 

I'll have to look into it. You could test this by putting this widget on each page of a test site and visiting it a few times to see what data it shows.

Posted
14 minutes ago, Graham Quince said:

I tried testing this and it logs site visits.  If you have two on a site, but different pages, both counts go up.  I tried rewriting it but got nowhere.

I'll be passing the site_uuid to the data-store, all you'd need to do is pass the page_uuid instead. We can have a play sometime and see if we can get it working.

  • Thanks 2
  • 3 months later...
  • 2 months later...
Posted

OK, figured it out. I'd made the widget hidden to everyone except Admins, not realising that users can't see it anyway. Set it back to visible and it worked.

  • Like 1
  • 3 months later...
Posted

You can highlight the data, then it'll copy and paste into Excel. Just make sure you get all the data and column titles, or else it pastes into Excel wierd.

  • Thanks 1
  • 1 month later...
Posted
6 hours ago, Pete Foulkes said:

Morning!

We've put the widget on our Y6 transition site but it doesn't seem to be logging user visits in the 'Other' profile. Admin, staff and students all working fine.

Hi Pete - I'm trying to get an answer for you.

It's probably a permission - but I'm struggling to find it at the moment

 

Posted
On 6/22/2020 at 3:22 PM, Graham Quince said:

Hi Pete - I'm trying to get an answer for you.

It's probably a permission - but I'm struggling to find it at the moment

 

Thanks Graham, much appreciated.

  • Like 1
Posted
1 hour ago, Pete Foulkes said:

Thanks Graham, much appreciated.

Hi @Pete Foulkes

Finally got to the bottom of this.  It appears the Other profile was not included in the datastore code and cannot be set to use the datastore, so the Visitor Log will not record their entries.  I'll flag this up with the Product Team and get it recorded as a bug.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...