Skip to content

Commit

Permalink
feat: display form 이벤트 발생 방법 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HeoJiye committed Feb 21, 2024
1 parent f8e40d4 commit 1b85175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/business/services/TOLD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const tagManagerArgs = {
TagManager.initialize(tagManagerArgs);

const TOLD = {
displayForm: (type: string) => TagManager.dataLayer({ dataLayer: { event: type } }),
displayForm: (type: string) => (window as any).dataLayer.push({ event: type }),
isFormVisible: () => {
const container = document.querySelector('#told-container');
return container?.innerHTML ?? false;
Expand Down

0 comments on commit 1b85175

Please sign in to comment.