This version of Unity is unsupported.

Analytics.playerOptedOut

public static bool playerOptedOut;

Description

Reports whether the player has opted out of data collection.