Home › Forums › Support › Help to place code just before the tag This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago by Ying. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 9, 2020 at 2:51 pm #1573600 Abdul I need to add a code for an affiliate program. This is what I am supposed to do. Copy the script generated above and place it just before the </body> tag on your pages or website template Can you please let me know how to add the code before the </body? tag ? December 9, 2020 at 5:03 pm #1573681 YingStaff Customer Support Hi Abdul, You could use wp_footer hook to achieve this. https://docs.generatepress.com/article/wp_footer/ Go to Appearance > Elements > Add new elemenets > Hook, then choose wp_footer. You can insert your code in the content box. Let me know ๐ December 19, 2020 at 6:18 am #1586969 Abdul Thanks December 19, 2020 at 1:24 pm #1587487 YingStaff Customer Support No problem ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In