mixpanel should be declared inside head tags