# Magento 2 How Did You Hear About Us

### <span style="color: #3b82f6;">Installation and User Guide for Magento 2 How did you hear about us Extension</span>

**Table of Contents**

1. [*Installation* ](#bkmrk-installation)
    - *Installation via app/code*
    - *Installation via Composer*
2. [*Configuration Settings for Where did you hear about us?* ](#bkmrk-configuration-settin)
    - *General Settings*
    - *Selected WDYHAU Option in Orders Grid*
    - *WDYHAU Details at Customers Level*
    - *WDYHAU Details on the Sales Order View Page*
    - *"Where did you hear about us?" Drop-down Options in the Back-end*
3. [*Front-end Site View* ](#bkmrk-front-end-site-view)
    - *WDYHAU Option on the Registration Page*
    - *WDYHAU option on the Checkout Page*

### <span style="color: #3b82f6;">Installation</span>

- <span style="color: #f97316;">**Installation via app/code:**</span> Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.
    
    ```php
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
    
    ```
- <span style="color: #f97316;">**Installation via Composer:**</span> Please follow the guide provided in the below link to complete the installation via composer.

<p class="callout success">[https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer](https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer)</p>

### <span style="color: #3b82f6;">Configuration Settings for Where did you hear about us?</span>

Go to **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Where did you hear about us?**

#### <span style="color: #f97316;">General Settings</span>

- **Enabled –** Select "Yes" or "No" to enable or disable the module.
- **License Key –** Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at <support@scommerce-mage.com>.
- **Dropdown options –** Please add the WDHAU options for customers and administrators to choose during checkout and creating order via admin respectively. There should be semicolon (;)separated values for example Google;Facebook;Twitter;Others
- **Other Options Title -** Please add the title for other options.
- **Drop Down Label –** Please add the label.
- **Other Label –** Please add the label for other option.
- **Field Is Required On Customer Registration -** Select "Yes" or "No" to enable or disable the Field is required on customer registration.

[![image (7).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/OFXimage-7.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/OFXimage-7.png)

#### <span style="color: #f97316;">Report</span>

- **Exclue Statuses -** Select exclude statuses which you would like to not include when generating the WDYHAU Report.

[![image (8).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/c4Wimage-8.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/c4Wimage-8.png)

- <span style="color: #f97316;">**Selected WDYHAU Option in Orders Grid -**</span> You can see the selected "Where did you hear about us?" option at **Admin &gt; Sales &gt; Orders** grid.

[![image (9).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/5lbimage-9.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/5lbimage-9.png)

- <span style="color: #f97316;">**WDYHAU Details at Customers Level -**</span> To see the "Where did you hear about us?" option at customers level go to **Admin &gt; Customers &gt; All Customers &gt; Select Customer &gt; Account Information &gt; Where did you hear about us?**

**[![image (10).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/G2vimage-10.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/G2vimage-10.png)**

- <span style="color: #f97316;">**WDYHAU Details on the Sales Order View Page -**</span> The selected WDYHAU option will be shown on order view page under "**Account Information**" section from **Admin &gt; Sales &gt; Select Order &gt; View.**

**[![image (3).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/PImimage-3.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/PImimage-3.jpg)**

- <span style="color: #f97316;">**"Where did you hear about us?" Drop-down Options in the Back-end -**</span> When you enable the module, then it shows WDYHAU drop-down option in the back-end at **Admin &gt; Sales &gt; Create New Order &gt; Select Customer &gt; Select Product &gt;** Select **"Where did you hear about us?"** option.

[![image (11).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/E5zimage-11.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/E5zimage-11.png)

### <span style="color: #3b82f6;">Front-end Site View</span>

- <span style="color: #f97316;">**WDYHAU Option on the Registration Page -**</span> You can define the "Where did you hear about us?" drop-down options from **Admin &gt; Stores &gt; Configuration&gt; Scommerce Configuration &gt; Where did you hear about us? - Google; Twitter; Facebook; YouTube; Others,** which will be shown on the registration page.

[![image (12).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/opIimage-12.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/opIimage-12.png)

- <span style="color: #f97316;">**WDYHAU option on the Checkout Page -**</span> You can see the "Where did you hear about us?" option on the checkout page.

[![image (4).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/bOoimage-4.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/bOoimage-4.jpg)

If you have a question related to this extension please check out our [**FAQ Section**](https://www.scommerce-mage.com/magento-2-how-did-you-hear-about-us.html#customfaq) first. If you can't find the answer you are looking for then please contact [**support@scommerce-mage.com**](mailto:core@scommerce-mage.com)**.**