Home › Forums › Support › Adding email marketing tracking code This topic has 1 reply, 2 voices, and was last updated 3 years, 4 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 20, 2020 at 1:58 am #1538600 Charles Hi there, I’m looking to add some tracking code for my email marketing. I need to add it before the close of the body tag. How would I do this with elements? Thanks in advance. Charles November 20, 2020 at 3:15 am #1538660 DavidStaff Customer Support Hi there, you can use the Hook Element: https://docs.generatepress.com/article/hooks-element-overview/ There are three core WP hooks for this purpose: wp_head – inside the <header></header> wp_body_open – immediately after the opening <body> tag wp_footer – before the closing </body> tag For your need you would use the wp_footer Make sure you set the Hook Elements displays to where you want that code to be applied. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In