next.js icon indicating copy to clipboard operation
next.js copied to clipboard

docs: Fix invalid arguments for sendGTMEvent

Open robiot opened this issue 1 year ago • 0 comments

Recap

  • The current documentation implementation is invalid.
  • The function only accepts a single object, like the Google datalayer implementation.
  • This fixes it by combining the arguments into a valid datalayer object.

cheers !

robiot avatar Aug 26 '24 11:08 robiot