2.2.2 Tag Placement

Place calls to IBM® Digital Analytics cmCreate... tag functions within the <body> section of the page that you are tagging.

<body>
...
<script type="text/javascript">
cmCreatePageviewTag("HOME PAGE","HOME");
</script>
</body>
If you are deploying Digital Analytics tags using IBM Digital Data Exchange or other tag management system that references a JSON such as digitalData = {...}, declare the JSON in the <head> section of the page that you are tagging.
<head>
<script type="text/javascript">
digitalData = { page:{pageInfo:{pageID:'myPageID',onsiteSearchTerm:'', 
onsiteSearchResults:''}, category:{primaryCategory:''},attributes: 
{exploreAttributes:'',extraFields:''}}};
</script>
</head>