The plone.analytics viewlet is displayed in the window of the footer window manager:
<browser:viewlet name="plone.analytics" manager="plone.app.layout.viewlets.interfaces.IPortalFooter" class=".view.AnalyticsViewlet" permission="zope2.View" />
The excerpt is displayed as is, so you can identify the script tag as you want.
Are you trying to try
<script id="plone-analytics" ...>YOUR SCRIPT...</script>
And change the rules.xml to put # plone-analytics in the footer
In Plone 4.2, at least plone.analytics is not in the visual-portal-wrapper, so the rule you are trying will not work.
source share