Where to put Hotjar and Google analysis tracking code script ?
-
HI
i want to insert tracking code in theme.
where should I put is the best
at global CSS or global js
this is the instruction.
This tracking code is unique to
Paste the Hotjar code into the <head>; of every page, you wish to track users and collect feedback. And then verify your installation.
thanks a lot
Hello,
The best way is to use the free plugin Insert Headers and Footers, have a look at the site https://wordpress.org/plugins/insert-headers-and-footers/
Best Regards