Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Sep 17, 2024
1 parent da82cd7 commit feb4f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/third-parties/src/google/gtm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function GoogleTagManager(props: GTMParams) {
}

export const sendGTMEvent = (data: Object, dataLayerName?: string) => {
// special case if we are sending events before GTM init and we have custom dataLayerName
// special case if we are sending events before GTM init and we have custom dataLayerName
const dataLayer = dataLayerName || currDataLayerName
// define dataLayer so we can still queue up events before GTM init
window[dataLayer] = window[dataLayer] || []
Expand Down

0 comments on commit feb4f53

Please sign in to comment.