Issue 8221 by sgl: webtrends - update scriptcode