Once you have added completion tracking to each activity you want to count towards course completion, you will need to include them in the course completion settings.
Go to the Administration block on the left-hand side of the screen and click on Edit completion settings.
Open the Condition: Activity completion options by clicking on the tab. This will display a list of all the activities you have added completion tracking to.
Tick the tickboxes of all the activities you want to count towards course completion.
Under Condition requires, select ALL selected activities to be completed.
Then click on Save changes.