Sometimes a client might ask us to add a pixel or <script> tag to their website somewhere for third party analytics or marketing integrations.
- First confirm the code is safe to use and that we know what page or part of the template (header, footer) to add the code to
- For code that belongs in the header or footer, visit Dashboard -> Settings -> Header & Footer to place the code in the corresponding text area. Clear the WP Rocket cache after adding the code to make sure it shows up on the site immediately
- If the above settings page doesn't exist, install the "WPCode Lite" plugin from the WordPress plugin repository