                 var currentOrganicSource:OrganicReferrer = _config.organic.getReferrerByName( name );
                 
                 // extract keyword value from query string
-                var keyword:String = _config.organic.getKeywordValue( currentOrganicSource, ref.search );
+                var keyword:String = _config.organic.getKeywordValue( currentOrganicSource, ref.query );
                 
                 camp = new CampaignTracker();
                 camp.source = currentOrganicSource.engine;

                return camp;
            }
            
            var ref:URL = new URL( _referrer );
            var name:String = "";
            
            if( ref.hostName != "" )
            {
                if( ref.hostName.indexOf( "." ) > -1 )
                {
                    var tmp:Array = ref.hostName.split( "." );
                    
                    switch( tmp.length)
                    {
                        case 2:
                        // case: http://domain.com
                        name = tmp[0];
                        break;
                        
                        case 3:
                        //case: http://www.domain.com
                        name = tmp[1];
                        break;
                    }
                }
            }
            

    import com.google.analytics.core.OrganicReferrer;
    import com.google.analytics.debug.DebugConfiguration;
    import com.google.analytics.debug.VisualDebugMode;
    import com.google.analytics.utils.Variables;
    import com.google.analytics.v4.Configuration;
    
    import core.uri;
    
    /**
     * The CampaignManager class.
