Jump to content
sclough

Analytics API Data

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...