# TCGBAnalytics Class Reference

Inherits from | NSObject
Declared in | TCGBAnalytics.h TCGBAnalytics.m

### `+ setGameUserData:`

Send a game user data to Gamebase Server for analyzing the data. This method should be called after login.

`+ (void)setGameUserData:(TCGBAnalyticsGameUserData *)gameUserData`

#### Parameters

`gameUserData` | Game User Data

#### Availability

Added 2.0.0

#### Declared In

`TCGBAnalytics.h`

### `+ traceLevelUpWithLevelUpData:`

Send a level up data to Gamebase server for analyzing the data. This method should be called after level up event.

`+ (void)traceLevelUpWithLevelUpData:(TCGBAnalyticsLevelUpData *)levelUpData`

#### Parameters

`levelUpData` | Level Up Data

#### Availability

Added 2.0.0

#### Declared In

`TCGBAnalytics.h`