You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using both integrations on the same website, they override each other's window.gtag, so the latter loaded script will override the first one, and the events of the first one will not be reported to the destination.
From analytics.js-integration-google-analytics-4/lib/index.js:
window.gtag = function () {
window.ga4DataLayer.push(arguments);
};
From analytics.js-integration-google-adwords-new/lib/index.js:
The text was updated successfully, but these errors were encountered:
ayeletcohen
changed the title
analytics.js-integration-google-adwords-new and analytics.js-integration-google-analytics-4 conflict
Conflict between analytics.js-integration-google-adwords-new and analytics.js-integration-google-analytics-4Jul 18, 2022
When using both integrations on the same website, they override each other's
window.gtag
, so the latter loaded script will override the first one, and the events of the first one will not be reported to the destination.From
analytics.js-integration-google-analytics-4/lib/index.js
:From
analytics.js-integration-google-adwords-new/lib/index.js
:The text was updated successfully, but these errors were encountered: