Skip to main content
Participant
June 22, 2020
Answered

Internal links & analytics

  • June 22, 2020
  • 2 replies
  • 1120 views

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.

This topic has been closed for replies.
Correct answer Joel Geraci

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.

2 replies

Legend
June 23, 2020

What happens though if the student opens on a mobile device, in a browser, or Apple Preview, or with JavaScript off or...

Joel Geraci
Community Expert
Community Expert
June 23, 2020

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. 

Legend
June 23, 2020

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.

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
June 22, 2020

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.

DrbunburyAuthor
Participant
June 23, 2020

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.