---
schema_version: "1"
id: d08b36350a4ba79313045c80a6b69a077ba951679539327fe33e97f1ff52ed34
title: isAnalyticsEnabled
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud-mobilepush/engagement_sdk/references/cordova/isAnalyticsEnabled.md
canonical_url: https://developer.salesforce.com/docs/marketing/mobile-unified-sdk/references/engagement-mobile-sdk-reference/isAnalyticsEnabled.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 52be92646556ec780100f0a5fb63befd0b1c84b3e705c0205b10227c5c3594f8
products:
  - Salesforce Engagement SDK
---
# isAnalyticsEnabled

Checks if analytics are enabled in the native MobilePush SDK.

## Syntax

`MCCordovaPlugin.isAnalyticsEnabled(successCallback, [errorCallback])`

## Kind

Static method of `MCCordovaPlugin`.

## Parameters

| Parameter         | Type       | Description |
| ----------------- | ---------- | ----------- |
| `successCallback` | `function` |             |
| `errorCallback`   | `function` |             |
