Skip to content

Commit

Permalink
fix: Update allowable character limits and number of attributes for G…
Browse files Browse the repository at this point in the history
…A360 (#24)
  • Loading branch information
jshin-tse authored Feb 5, 2024
1 parent e3d52ab commit 59647a6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ @implementation MPKitFirebaseGA4Analytics
static NSString *const instanceIdIntegrationKey = @"app_instance_id";
static NSString *const invalidFirebaseKey = @"invalid_ga4_key";

// Following limits are based off Google Analytics 360 limits, docs here "https://support.google.com/analytics/answer/11202874?sjid=14644072134282618832-NA#limits"
const NSInteger FIR_MAX_CHARACTERS_EVENT_NAME = 40;
const NSInteger FIR_MAX_CHARACTERS_IDENTITY_NAME = 24;
const NSInteger FIR_MAX_CHARACTERS_EVENT_ATTR_VALUE = 100;
const NSInteger FIR_MAX_CHARACTERS_EVENT_ATTR_VALUE = 500;
const NSInteger FIR_MAX_CHARACTERS_IDENTITY_ATTR_VALUE = 36;
const NSInteger FIR_MAX_EVENT_PARAMETERS_PROPERTIES = 25;
const NSInteger FIR_MAX_ITEM_PARAMETERS = 10;
const NSInteger FIR_MAX_EVENT_PARAMETERS_PROPERTIES = 100;
const NSInteger FIR_MAX_ITEM_PARAMETERS = 25;

#pragma mark Static Methods

Expand Down

0 comments on commit 59647a6

Please sign in to comment.