fix embed code and analytics