hades200082 / template-app-infrastructure

MIT No Attribution
0 stars 0 forks source link

Implement GTM tracking #19

Open hades200082 opened 1 year ago

hades200082 commented 1 year ago

We'll assume the following:

styles102 commented 1 year ago

In services/custom code (probably needs a service of its own that can be imported)

@hades200082 I can't really think of a use case for this being needed. Have you got an example?

From my experience GTM tracking will more often than not happen client side as most of the actions that need to be tracked will require some form of interaction by the user. So in my opinion a custom hook will suffice.

hades200082 commented 1 year ago

You're right. Just the hook for now.