Skip to content

How to use only custom props on trackEvent? I mean only my own params instdead of (event, category, option .....etc) #396

Answered by mrc-bsllt
antonpatotski asked this question in Q&A
Discussion options

You must be logged in to vote

Did you try push?

This is how it is done, right?

const gtm = useGtm();

gtm?.push({ event: "me-event", customProp: "my custom prop" });

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mrc-bsllt
Comment options

Answer selected by Shinigami92
@Shinigami92
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants