Archived topic
GP Hooks
3 replies · Started by John on March 20, 2019
Where did WP Hooks go?
I need to add Facebook pixel code to the site.
Hi there,
It's been replaced by Hooks Elements quite a few versions ago:
https://generatepress.com/forums/topic/gpp-1-7-introducing-elements/
Let me know if you need more info :)
Can you give me more direction on where to put the code?
I need to install Facebook and Google Analytics code?
Where specifically does it go?
Came across this article online which explains it in details:
https://lyrwp.com/add-google-analytics-generatepress/
For Facebook, are you referring to the Facebook Pixel code?
If to it would be the added under wp_head as well.