void AnalyticsService::onGotUserInfo( const lastfm::User& user ) { // set all the session level custom vars m_customVars.clear(); m_customVars.enqueue( QString( "http://cdn.last.fm/client/ga.html#custom?version=%1&usertype=%2" ).arg( QCoreApplication::applicationVersion(), userTypeToString( user.type() ) ) ); m_customVarsSet = true; loadPages(); }