Forums
Forums / Theme: Optimizer / Adding analytics tag
(@ayupgrade)
8 years, 8 months ago
I was wondering if there was a good area where we can embed custom javascript code (Heap Analytics) into the theme. I noticed there are limited areas within the theme editor.
Ideally, this code should be in the header. See Heap’s official guidelines below: https://docs.heapanalytics.com/v1.0/docs/third-party-web-tools
Is this something that is only enabled with the Pro version? I’m using the free version.
(@layerthemes)
Hi,
Please use this plugin: https://ww.wp.xz.cn/plugins/insert-headers-and-footers/
And add it like this: http://cdn.wpbeginner.com/wp-content/uploads/2017/02/addingcodeinwp.png
Thanks
Thank you! We will use that approach.
The topic ‘Adding analytics tag’ is closed to new replies.