Skip to content

Commit 59647a6

Browse files
authored
fix: Update allowable character limits and number of attributes for GA360 (#24)
1 parent e3d52ab commit 59647a6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mParticle-Google-Analytics-Firebase-GA4/MPKitFirebaseGA4Analytics.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@ @implementation MPKitFirebaseGA4Analytics
4242
static NSString *const instanceIdIntegrationKey = @"app_instance_id";
4343
static NSString *const invalidFirebaseKey = @"invalid_ga4_key";
4444

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

5253
#pragma mark Static Methods
5354

0 commit comments

Comments
 (0)