eAnalytics(data);
                })
                .catch(error => {
                    console.error('Error loading device analytics:', error);
                    document.getElementById('deviceAnalyticsContent').innerHTML = `
                        <div class="rc-alert rc-alert-error">
                            <i class="bi bi-exclamation-triangle"></i>
                            Failed to load device analytics: ${error.message}
                        </div>
                    `;
               