Skip to content

Commit

Permalink
fix:add check and replace warn instead of error for setCustomNameStan…
Browse files Browse the repository at this point in the history
…dardization
  • Loading branch information
mmustafa-tse committed Nov 20, 2023
1 parent a49f107 commit 123e041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/GA4Client/src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Common.prototype.standardizeParameters = function (parameters) {
};

Common.prototype.standardizeName = function (name) {
if (window.GoogleAnalytics4Kit.hasOwnProperty(setCustomNameStandardization)) {
if (window.GoogleAnalytics4Kit.hasOwnProperty('setCustomNameStandardization')) {
try {
name = window.GoogleAnalytics4Kit.setCustomNameStandardization(name);
} catch (e) {
Expand Down

0 comments on commit 123e041

Please sign in to comment.