mparticle-integrations / mparticle-javascript-integration-google-analytics-4

1 stars 4 forks source link

Missing setCustomNameStandardization function #54

Closed akasakakona closed 11 months ago

akasakakona commented 12 months ago

When running this line: https://github.com/mparticle-integrations/mparticle-javascript-integration-google-analytics-4/blob/8fc26c2f2427c34cfcd787fbb7d856d821ddd0da/packages/GA4Client/dist/GoogleAnalytics4EventForwarderClientSide-Kit.common.js#L140

The browser throws this error.

image
v-mamaya commented 11 months ago

Hey, would you mind raising a ticket to our support team? I think this is a configuration problem, not an issue. Thank you very much!

rmi22186 commented 11 months ago

@akasakakona - Yes, generally issues should be submitted via raising tickets the way @v-mamaya said. That being said, I do see the issue here. Really this should be a warning and not an error and we should be checking for the existence of this optional callback. But rest assured, your data is still getting to GA4. We'll have a fix shortly, but just want to let you know that based on what I am seeing, there is no issue with this error coming up from an analytics or site usability standpoint.

rmi22186 commented 11 months ago

Hi @akasakakona - This has been released as part of v1.3.1. If you are using the snippet, you will get this automatically. If you use npm, please update your package.json for @mparticle/web-google-analytics-4-client-kit for be 1.3.1.

Thanks to @mmustafa-tse for the fix!

I am closing this for now, but please reopen if you have any issues.