Open pullmann4rent opened 5 months ago
To fix this, we recommend the using the ClientOnly component in the remix-utils community package. An example of its usage can be found in the examples repository.
To fix this, we recommend the using the ClientOnly component
Can you please show an example actually uses GTag scripts? Because using it with ClientOnly prevents firing of that script. So It renders but does not sends any data to google. Does not works.
Or any other tracking scripts. Meta(Facebook) Events, GTag, Ms Clarity.
Reproduction
Root
gtag util
System Info
Used Package Manager
npm
Expected Behavior
That I got no hydration err
Actual Behavior
Google analatiycs works but not google tag manager. I got hydration error when I use this code: