Skip to content

Commit

Permalink
fix old gaID reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydonkrooss committed Jul 30, 2024
1 parent 73d5261 commit 9f34eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useGoogleAnalytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (googleAnalyticsId && !initialized) {
wait_for_update: 500
});
GoogleAnalytics.initialize([{
trackingId: gaId,
trackingId: googleAnalyticsId,
gaOptions: {
cookieFlags: 'SameSite=None; Secure',
testMode: debug ? true : false,
Expand Down

0 comments on commit 9f34eef

Please sign in to comment.