I was getting the same error due to confusion over where to place the
plugin code. In short, the actual plugin code should be outside of the
dos.getVisitStart=newFunction(...);s.usePlugins=true;s.doPlugins=function(s)
{ // usage here var s_visitStart =
s.getVisitStart('sc_visit_start');}Can't Get Analytics Plugins Working