How to Track User Progress in SCORM Content Embedded via an iFrame from AWS S3?

I have embedded a SCORM package hosted in an AWS S3 bucket into my website using an iFrame. The SCORM content displays correctly, but I would like to track the user’s progress—specifically which slides the user has completed and how far they’ve progressed through the content.

<iframe id="scormPlayer" src="https://scorm-package.s3.eu-west-2.amazonaws.com/scorm/hurak-learning/fire-marshal-fire-warden-online/Introduction/index.html" width="100%" height="600" frameborder="0"></iframe>

How can I track which slides the user has completed and their overall progress within the SCORM content? I’m using SCORM 2004 and would prefer to manage the data within my own system without relying on third-party services.

Any help or suggestions would be greatly appreciated!