added analytics to schema mixin