by Gustavo Matheus.
"Assuming the page you created is a page within Moodle, you could probably write some code that queried the log table and echo some text if the log.action field=view."Ok, how could I get this information from database in my code?
"Would it work to create a conditional activity that couldn't be accessed unless a student visited your other page first?"
Not for this case...