Add isactivedatahead Tags

To collect active data, you must place the <isactivedatahead> tag in every ISML template that contains an HTML <head> tag from which you want to collect the data. ISML templates without an HTML <head> tag don't use the <isactivedatahead tag>. You should place the tag immediately before the closing head tag </head>.

The <isactivedatahead> tag must appear:

If this tag appears after any other analytics data collection ISML tags, those tags might fail to collect data. If this tag appears before any references to external JavaScript libraries, those external JavaScript libraries might become incompatible. This tag must appear where <script> tags are valid. For example, it can't be placed between two <tr> tags for rows of a table or similar structures in a page.

If the tag isn't placed in a page or isn't placed in a page correctly, the storefront customer might experience JavaScript errors. Customers might be notified of the error or the page rendering might be negatively affected.

Best Practice: Place the <isactivedatahead> tag in all <head> tags, unless the template containing the <head> tag is used solely for a page or set of pages that is guaranteed to never have data of analytic interest.

This feature is implemented in SiteGenesis as follows:

The htmlhead.ism file references htmlhead_UI.isml via an include (<isinclude template="components/header/htmlhead_UI"/>).

The htmlhead_UI.html file contains this line: <isactivedatahead>.