Update integration example
Add security guard on StatsManager.setEvents ; Update doc & sources