Vicariously has 2 different meanings across 1 category:
Adverb
Adverb
1
indirectly, as, by, or through a substitute
"she enjoyed the wedding vicariously"
2
In a way that is experienced in the imagination through the actions of another person. "she was living vicariously through her children"; by proxy.