Archived topic
Java Script HTML Integration
3 replies · Started by Quentin on June 9, 2020
Hi there,
Currently I'm setting up a few rules in regards of geo targeting. At the end of the setting progress I have the options to use/get the code for JS or wordpress. Wordpress probably would mean, I need to add this code into the theme, what I do not want. The other way is JS.
I am using Elementor (not quite sure if this matters). I receive this message when I click on help:
"The provided JavaScript code needs to be placed in your website just before the closing body tag </body> or in your website footer and the HTML tag is to be placed where the geo content needs to render".
Could someone please explain what exactly I have to do? May I use a html widget for this and if yes, where do I have to put it? Below the last content of the site and before the footer?
Thank you very much
Hi there,
Try the wp_footer hook with a hook element:
https://docs.generatepress.com/article/hooks-element-overview/
Thank you very much .. will try :)
No problem :)