Where to paste tracking codes?
-
Hi, where am I supossed to paste the tracking codes for them to apply to website header? (GA4, META PIXEL, BREVO TRACKING, etc)
-
This topic was modified 1 month, 1 week ago by
memo.cort59.
Hello,
The best way to add the code is by using this free plugin, Insert Headers and Footers. Have a look at the site
https://wordpress.org/plugins/insert-headers-and-footers/
Best Regards,
ok thanks, final question where are the custom css and custom js installed?
You can close this topic
Hello,
Navigate to Theme Settings > add the CSS and JS in the Custom CSS & JS section.
Best Regards,
I mean, I know where in the theme settings I can paste the code… I wan´t know where this code is installed in the theme… are this snippets going to the head, footer, etc?
Hello,
When you paste your script into the “Header” area of the plugin, the code is output inside the site’s
section.
If you paste it into the “Footer” or “Before </body>” box, the code appears before the closing tag.
The plugin stores these code snippets in the WordPress database (not in your theme files). So even if you switch themes, the code remains.
For more details, follow this guide:
https://wpcode.com/docs/using-the-global-header-footer-settings/?utm_source=chatgpt.com
Best Regards,