Skip to content

Commit

Permalink
Revert "Fix sendGAEvent function (vercel#62065)"
Browse files Browse the repository at this point in the history
This reverts commit e71046b.
  • Loading branch information
asobirov committed Feb 17, 2024
1 parent da616e5 commit 465ed2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/third-parties/src/google/ga.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const sendGAEvent = (...args: Object[]) => {
}

if (window[currDataLayerName]) {
window[currDataLayerName].push(args)
window[currDataLayerName].push(...args)
} else {
console.warn(
`@next/third-parties: GA dataLayer ${currDataLayerName} does not exist`
Expand Down

1 comment on commit 465ed2d

@asobirov
Copy link
Owner Author

Choose a reason for hiding this comment

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

Accidental, my bad

Please sign in to comment.