The neurons that synapse onto the Dendrites of neuron “X”

You are studying neuron “X” in the brain and you would like to know where the neurons that synapse onto the dendrites of neuron “X” are projecting from. How could you create a marker/tracer to answer this question? What components of the neuron might you attach this marker/tracer to?