The goal of this research is to look into the relationship between social media marketing activities and brand attachment in the online marketing business, based on the indirect effect of perceived value and self-brand connections. For this reason, the study has used selfadministered questionnaires to collect the data from 425 males from the major cities of Pakistan including Islamabad, Karachi, Lahore, and Sialkot. Furthermore, based on the PLS-SEM technique the empirical findings show that social media marketing activities positively affect perceived value, self-brand connections, and brand attachment. Perceived value has a significant positive impact on brand attachment and mediates the influence of social media marketing activities on brand attachment. In addition to this, self-brand connections have a positive effect on brand attachment, and self-brand connections mediate the relationship between them. Thus, firms employing social media marketing activities successfully in their branding build upon a positive perception of the brand in the customer’s mind resulting in customer attachment with the brand. This study can assist the e-commerce managers and brand managers in building strong customer attachment via perceived value and self-brand connections.