> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mention-me.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing the Dashboard Tag

> How to test the Mention Me dashboard tag on your customer account page in both Demo and Live environments.

The dashboard tag embeds the referral dashboard on your "My Account" or customer account section. This guide covers testing in both Demo and Live environments.

<Tabs>
  <Tab title="Demo">
    <img src="https://mintcdn.com/mentionme/DW6A4iNCa7LrbN3W/images/knowledge/onboarding/testing/31615583698973.gif?s=0901ee45496731a6c4f54003b07c4e66" alt="Testing the dashboard tag in DEMO environment" width="800" height="443" data-path="images/knowledge/onboarding/testing/31615583698973.gif" />

    ## Website Test

    <Steps>
      <Step title="Open a private browser window">
        Open an incognito or private browser window.
      </Step>

      <Step title="Navigate to My Account">
        Log in with a test customer account and go to your **My Account** (customer dashboard) section.
      </Step>

      <Step title="Check the embedded dashboard">
        Check the embedded referral dashboard is displayed within `<div id="mmWrapper">` or the correct container.
      </Step>

      <Step title="Inspect network requests">
        Right-click anywhere on the page, select **Inspect**, then open the **Network** tab. Reload the page and filter by your partnerCode.
      </Step>

      <Step title="Verify request details">
        Click the request and confirm:

        * **Headers:** environment is **demo**
        * **Payload:** **situation** is **dashboard**, **email** matches the logged-in customer, and **localeCode** matches the account page language
      </Step>
    </Steps>

    <img src="https://mintcdn.com/mentionme/DW6A4iNCa7LrbN3W/images/knowledge/onboarding/testing/31616921041693.png?fit=max&auto=format&n=DW6A4iNCa7LrbN3W&q=85&s=d9c50019cbff9a03f9db25506e5dd878" alt="Network tab showing DEMO dashboard tag request details" width="697" height="896" data-path="images/knowledge/onboarding/testing/31616921041693.png" />

    ## Troubleshooting

    * **Dashboard not visible** -- check `<div id="mmWrapper">` is present and the correct tag is implemented. Look for JavaScript errors in the browser console. Ensure you are using the DEMO tag.
    * **No request to tag-demo.mention-me.com** -- check you are using the DEMO tag; reload after clearing cache/cookies.
    * **Email/locale missing in request** -- check your Mention Me tag initialisation includes customer email and locale.

    ## Need Help?

    Contact the team via the [help form](https://help.mention-me.com/hc/en-gb/requests/new?ticket_form_id=1900000712373) with testing details and screenshots.
  </Tab>

  <Tab title="Live">
    <img src="https://mintcdn.com/mentionme/DW6A4iNCa7LrbN3W/images/knowledge/onboarding/testing/31623082575773.gif?s=f6b8b96da3469c5d3a026c70c4f78fd1" alt="Testing the dashboard tag in LIVE environment" width="800" height="356" data-path="images/knowledge/onboarding/testing/31623082575773.gif" />

    ## Website Test

    <Steps>
      <Step title="Open DevTools">
        Open your browser's **Network** tab (right-click, **Inspect**, then **Network**). Filter for your **partnerCode** before loading the page.
      </Step>

      <Step title="Navigate to your dashboard page">
        Log in with your test customer account and go to the page where your dashboard has been implemented.
      </Step>

      <Step title="Check the embedded dashboard">
        Check the embedded referral dashboard is displayed within `<div id="mmWrapper">` or the correct container.
      </Step>

      <Step title="Verify network requests">
        Confirm a request in the Network tab to **tag.mention-me.com** with:

        * **Headers:** environment is **production**
        * **Payload:** **situation** is **dashboard**, **email** matches the logged-in customer, and **localeCode** matches the account page language
      </Step>
    </Steps>

    ## Troubleshooting

    * **Dashboard not visible** -- check `<div id="mmWrapper">` is present and the correct tag is implemented. Look for JavaScript errors in the browser console. Ensure you are using the PRODUCTION tag (**tag.mention-me.com**).
    * **No request to tag.mention-me.com** -- check you're using the PRODUCTION tag; reload after clearing cache/cookies.
    * **Email/locale missing in request** -- check your Mention Me tag initialisation includes customer email and locale.
    * **Error responses from Network request:**
      * **400 -- Bad Request:** check the payload for missing or malformed parameters
      * **403 -- Forbidden:** check that you have enabled debug mode
      * **404 -- Not Found:** your partnerCode or URL may be incorrect

    ## Need Help?

    Contact the team via the [help form](https://help.mention-me.com/hc/en-gb/requests/new?ticket_form_id=1900000712373) with test details and screenshots.
  </Tab>
</Tabs>
