If you use one of SmartBuilder’s Master Navigation templates, the template has logic to detect when all the pages in the lesson have been viewed (using the built-in menu) and will send an xAPI statement indicating that the lesson has been completed.
Similarly, the Quizzing templates have an option in the Template Wizard to send a completed statement as well.
However, you can also use different triggers to send the "completed" statement (see below).
To use one of SmartBuilder’s master page templates:
(Optional) If want to check that your statements are being sent properly, you can preview xAPI statements while you’re still authoring your lesson.
To send the "completed" statement using a trigger other than all pages viewed condition used by the master page templates, you can create a custom xAPI statement. For example, if you wanted to send a "completed" statement when the last page is viewed, regardless of whether or not all other pages have been viewed, you would do the following: