Putting Analytics code in the head tag
Analytics code creates an image object, a non-visible image that does not show up on your page.
The Analytics code can be placed anywhere inside BODY tags () of a well-formed HTML page. Adobe recommends placing the code in a global include file at the top of the page (inside the HTML body tag). The code can be placed anywhere on the page, except as noted below:
- If placed within a table, post the code only within the tags. For example, do not place the code between an opening tag and an opening tag.
- The code that sets the variables must occur after the reference to the s_code.js file.
- Make certain that the report suite IDs in the s_account variable in the s_code.js file are set correctly. This variable is typically set correctly when downloading code from the Code Manager for a particular report suite, or as supplied by an Adobe Technical Consultant.