nsitedesigns
asked on
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?
ASKER
If I understood javascript then yes, that article would make sense. Unfortunately, it did not help.
Are you actually adding code to the body tag itself or just anywhere in the header/footer?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@Amita Singh,
My question was to the asker.
My question was to the asker.
Ok, I am sorry Julian.
https://codex.wordpress.org/Using_Javascript