Nanoindentation has now become the key technique for measuring the mechanical properties of materials at small scales. However, the quantitative and accurate processing of nanoindentation data relies on a physical quantity that is not directly available: the contact area (Ac) between the indenter tip and the sample under test. In complex systems, determining Ac is challenging due to the limitations of standard methods: analytical models have restricted validity domains (sample homogeneity and rheology), and post-mortem observations of residual imprints are time-consuming, do not appraise property gradients and cannot be applied to materials with significant elastic recovery.In this paper, a comprehensive methodology is proposed to continuously measure contact area during indentation. The proposed methodology, referred to as electrical-nanoindentation (ENI), is based on real-time monitoring of the electrical contact resistance (ECR). The protocol only requires mechanical and electrical calibrations of the indenter tip on reference materials, leading to one-to-one relationship between ECR and contact area. An original approach is also proposed to deal with the presence of surface passivating layers that generally disturb ECR measurements. As an illustration, the methodology is applied to the characterization of a multi-phase alloy (MPA) composed of silver, copper and palladium. This alloy raises the same challenges as those usually faced by nanoindentation in advanced metallurgy: heterogenous distribution of individual phases at the micro-scale, composite response of a complex mixture of hard/stiff and ductile/soft phases, … In addition, the ohmicity of contact is disturbed by surface passivating layers. Despite these numerous hindrances, the proposed methodology is successfully applied to this material. The evolution of contact area is compared with standard methods: an impressive accuracy of <2% standard-deviation is achieved when compared to post-mortem observations. The elastic moduli and hardnesses of individual phases are then accurately extracted. In addition, in order to gain in spatial definition, the ENI set-up is integrated into a scanning electron microscope (SEM), enabling indent positioning with a precision close to 100 nm.Two challenges are successfully met with the ENI methodology. On a mechanical point of view, the response of individual phases can be identified despite the complex rheology of heterogeneous materials, proving the approach applies to all mechanical behaviors (sink-in or pile-up rheologies, homogeneous or heterogeneous materials, with or without elastic recovery, …). On an electrical point of view, even if contact ohmicity is the only requirement of the methodology, it is possible to identify and overcome deviations from contact ohmicity induced by surface passivation. In particular, the non-linear resistive contribution of insulating layers fades during indentation thanks to its dependence as the reciprocal of the square of contact radius. The present work provides the keys to monitoring the contact area on any metallic sample, whether oxide-free or oxidized, making this methodology a promising alternative to standard methods.