Add code to body in wordpress site

I need to add tracking code to the body tag for a client of mine.  The code was provided by an advertising company.  Not sure how to add this to the body tag on wordpress.  is there a plugin I should use?
nsitedesignsAsked:
Who is Participating?
 
Amita SinghWeb DeveloperCommented:
you can try this plugin. but i am not  sure its usefull or not.

https://wordpress.org/plugins/tracking-code-manager/
0
 
Julian HansenCommented:
This article on the Wordpress Codex discusses the various options
https://codex.wordpress.org/Using_Javascript
0
 
nsitedesignsAuthor Commented:
If I understood javascript then yes, that article would make sense.  Unfortunately, it did not help.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Jason C. LevineNo oneCommented:
Are you actually adding code to the body tag itself or just anywhere in the header/footer?
0
 
Julian HansenCommented:
Unfortunately, it did not help.
In what way? As I understand it you are not actually writing the javascript you are just cut and pasting it.

In that case does the JS need to be on all pages?
0
 
Amita SinghWeb DeveloperCommented:
Hi Julian,

Please check the plugin screenshot. In this plugin their is a option where you want to add your code or which page you want to show the. only single page or whole website.

https://wordpress.org/plugins/tracking-code-manager/screenshots/
0
 
Julian HansenCommented:
@Amita Singh,

My question was to the asker.
0
 
Amita SinghWeb DeveloperCommented:
Ok, I am sorry Julian.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.