Jump to content

Analytics API Data


sclough

Recommended Posts

I’m trying to create a way of finding students who’ve never logged into Frog, or haven’t logged in within a specific time frame. My idea was to compare the analytics login data with the user API to get a list of student who are current users but haven’t logged in. The problem I’m finding is that with ‘analytics.getStats’ there’s no unique data to compare against. I was hoping that the data would include the student UUID or Username but it just has the display name.

Is there any way to get the API call to include the username or the UUID?

Here’s the code:

Frog.Model.api('analytics.getStats', {
module: 'users',
function: 'getTotalUserLogins',
dateFrom: '2020-12-12 00:00:00', 
dateTo: '2021-01-10 23:59:59', 
l: 0,
o: 0,
}).done(function(response) {
    console.log(response);
});

Does anyone have any suggestions about how to get this data coming through?

Link to comment
Share on other sites

  • 5 months later...

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...