Hello,
I’m trying to insert a tracking snippet that needs to be loaded on all elements of the site. Is there an easy way to automatically insert said snippet into the <head> tag of every page?
It needs to be loaded on every element if we are to get functionality like Heatmap, RUM, click tracking etc.
It would be great if there was a place like the CSS box that I could enter this in and not have to worry about the snippet surviving across updates.
Thanks!
Hey Mahdi!
You can add it to the google analytics field, use a function in a simple custom plugin to add it to wp_head, or add it to your header in a child theme.
Best regards,
Devin