format google analytics for smarty syntax