Copy link to clipboard
Copied
I want to understand how students interact with an educational PDF that relies on internal links. I can send HTTP post requests for page changes using PAGE_VIEW. Is it possible to do something similar with internal links.
I want to understand at an individual student level what their flow through the document is- how much time do they spend on each page? Do they click the links? Where do they go next?
Thanks for your help.
There's no direct way to detect an internal link but I agree that this would be a good feature to add. Until then, you can infer than any non-sequential page number change was due to a link if the bookmark click event didn't also happen. So if you see the page number change from 10 to 50 without scroll events or bookmark events, but you do see a "PREVIEW_PAGE_CLICK" you can infer that they clicked on a link.
Copy link to clipboard
Copied
There's no direct way to detect an internal link but I agree that this would be a good feature to add. Until then, you can infer than any non-sequential page number change was due to a link if the bookmark click event didn't also happen. So if you see the page number change from 10 to 50 without scroll events or bookmark events, but you do see a "PREVIEW_PAGE_CLICK" you can infer that they clicked on a link.
Copy link to clipboard
Copied
Thank you, that is a good idea. I will need to divide the appendix so it is one item per page so I know which link they are following.
Copy link to clipboard
Copied
What happens though if the student opens on a mobile device, in a browser, or Apple Preview, or with JavaScript off or...
Copy link to clipboard
Copied
Hmm, I am a bit new to this- my background is more academic. The plan is for a group of study participants to complete a survey on an external website then be directed to the website hosting the PDF. Participants could be asked to access from a desktop. I may need to create a page to check if JavaScript is allowed and highlight if not.
The alternative is to set up a series of web pages and use google analytics to monitor flow through the textbook.
Copy link to clipboard
Copied
The fact is that there are many PDF viewers, of very different capabilities. Many of them do not support JavaScript completely or at all, so your code just won't happen. IF you control the filling - for example by sitting the students at a computer you provide, in a controlled flow, you can make this happen. If however, you expect the students to go away and do this, the project is probably unachieveable.
Copy link to clipboard
Copied
View SDK overrides the native PDF viewers. Following a link to a PDF that is displayed using View SDK is not a link to the PDF, it's a link to a script that displays the PDF.
Copy link to clipboard
Copied
You're right of course, Joel, I wasn't properly looking at the context of the question. So long as the View SDK is being used specifically, rather than just placing a PDF on a web site, the View SDK uniquely applies.