To collect data, Digital Analytics library files must be included on the page and calls made to the appropriate tag functions. Some tag
function calls are applicable to implementations for all business verticals. Others are used only in specific business verticals.
Tags are rendered within the HTML <body>
section source, but might also be called based on in-page events. Each tag has a defined list of parameters provided at the time of function calls. These functions execute to create data collection requests, including both explicitly provided data parameters and automatically collected data such as time-stamp, referring, and destination URLs, etc. Tag parameter data is case insensitive: all collected data is converted to upper-case upon receipt and for display in processed report views.
The following tag
function calls are applicable to Digital Analytics implementations for all business verticals:
cmCreatePageviewTag()
cmCreateRegistrationTag()
cmCreateElementTag()
cmCreateConversionEventTag()
The following tag
function calls are applicable to Digital Analytics implementation for sites within the Retail and Financial Services verticals:
cmCreateProductviewTag()
cmCreateShopAction5Tag()
cmCreateShopAction9Tag()
cmCreateOrderTag()
Placing tag functions on pages
Place calls to Acoustic 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 Digital Analytics or another 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>
Comments
0 comments
Article is closed for comments.