Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update allowable character limits and number of attributes for GA360 #24

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

jshin-tse
Copy link
Contributor

Summary

Current GA4 kit data limits for number of event attributes and item attributes are hardcoded for GA4's standard plan. For GA360 customers, their data limits are higher but we will drop attributes preemptively. We should hardcode for GA360 data limits and let Google drop the attributes if customers are on the Standard plan.

Testing Plan

  • Was this tested locally? If not, explain why.
    No, we do not have access to a GA360 account, PR is just a change in the value of max attributes allowed.
  • {explain how this has been tested, and what, if any, additional testing should be done}

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@@ -44,10 +44,10 @@ @implementation MPKitFirebaseGA4Analytics

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a comment at the top of this block stating that the below constants are based off of Google's 360 plan limits, and link to https://support.google.com/analytics/answer/11202874?sjid=14644072134282618832-NA#limits

@rmi22186 rmi22186 merged commit 59647a6 into development Feb 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants