Graham Quince Posted February 6, 2019 Posted February 6, 2019 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. (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. 1 2
ADT Posted February 6, 2019 Posted February 6, 2019 Another Pconk.... o wait a min... its a @Graham Quince & @gbligh creation...... it probably won't work then...... 1
Graham Quince Posted February 6, 2019 Author Posted February 6, 2019 Just now, ADT said: Another Pconk.... o wait a min... its a @Graham Quince & @gbligh creation...... it probably won't work then...... 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.
gbligh Posted February 6, 2019 Posted February 6, 2019 28 minutes ago, ADT said: Another Pconk.... o wait a min... its a @Graham Quince & @gbligh creation...... it probably won't work then...... How rude
ADT Posted February 6, 2019 Posted February 6, 2019 25 minutes ago, gbligh said: How rude We love you really George... 1
pconkie Posted March 14, 2019 Posted March 14, 2019 @adamw I think we broke your widget I think the page we put it on has now had too many visitors! 1
pconkie Posted March 14, 2019 Posted March 14, 2019 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.
Graham Quince Posted March 14, 2019 Author Posted March 14, 2019 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.
pconkie Posted March 14, 2019 Posted March 14, 2019 Sorry @Graham Quince forgot it was your widget!!! Thanks, i'll download it now.... 1
Graham Quince Posted March 14, 2019 Author Posted March 14, 2019 43 minutes ago, pconkie said: Sorry @Graham Quince forgot it was your widget!!! It really isn't. although i learned a lot from the code.
pconkie Posted June 19, 2019 Posted June 19, 2019 (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 June 19, 2019 by pconkie
adamw Posted June 19, 2019 Posted June 19, 2019 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.
Graham Quince Posted June 19, 2019 Author Posted June 19, 2019 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.
adamw Posted June 19, 2019 Posted June 19, 2019 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. 2
Pete Foulkes Posted October 17, 2019 Posted October 17, 2019 Hi @Graham Quince It doesn't seem to record parent and student visits on e-portfolio sites on our platform, just Admin and Staff visits. I've tested on a regular site and it logs the parent visit, so seems to be specific to e-portfolios.
pdurber Posted December 29, 2019 Posted December 29, 2019 Have a similar issue on our platform. It records how often I have visited the parent dashboard, but no-one else.
pdurber Posted December 30, 2019 Posted December 30, 2019 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. 1
Rick Posted April 28, 2020 Posted April 28, 2020 In regards to this widget, is there a way to export the data that this widget gathers?
pdurber Posted April 28, 2020 Posted April 28, 2020 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. 1
Pete Foulkes Posted June 22, 2020 Posted June 22, 2020 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.
Graham Quince Posted June 22, 2020 Author Posted June 22, 2020 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
Pete Foulkes Posted June 30, 2020 Posted June 30, 2020 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. 1
Graham Quince Posted June 30, 2020 Author Posted June 30, 2020 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.
Graham Quince Posted July 2, 2020 Author Posted July 2, 2020 On 30/06/2020 at 15:51, ADT said: Computer says no.... is it still the case?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now