A naphthalimide-based [12]aneN3 compound as an effective and real-time fluorescence tracking non-viral gene vector.