You have just experienced what is commonly referred to as peer pressure, also called peer influence.
⇑ Translate the sentence above by Google ⇑
Related: commonly