Prerequisites: You need to be an org admin to do this.
Go to Settings > Services > xAPI
Scroll down to the Statements section:
Here you can use the tick boxes to specify which actions in the learning platform should generate an xAPI statement to be sent to your LRS (likely Data Cloud / Learning Locker). Click SAVE when you're done.
Be aware: If your organisation is using Data Cloud and / or , these xAPI statements may be integral to a visualisation or a learning campaign. Make sure you check if this is the case before switching off any statements.