> ## 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.

# How to Import ECR Data into Emarsys

> Download ECR data from Mention Me, format it into a CSV, and import it into your Emarsys account.

Mention Me can automatically send your customers' Extended Customer Revenue (ECR) data to your Emarsys account. ECR is only calculated for customers who have made a successful referral.

This data is sent on a **weekly** basis and only for customers whose ECR has **changed** from the previous week.

The following steps explain how to import ECR data as a one-off prior to beginning the weekly updates.

For details on the ECR fields sent to Emarsys, see [Emarsys Data Reference](/knowledge/esp-crm/emarsys/data-reference).

## Step 1: Download ECR Data from Mention Me

<Steps>
  <Step title="Navigate to Customer Revenue">
    Log in to the [Mention Me Platform](https://mention-me.com/login?) and go to the **Customer Revenue** page in the **Advocacy Intelligence** section.

    <Frame caption="Navigating to the Customer Revenue page in Mention Me.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/14000625556381.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=20781652905ba0f494c7af8c8b29c223" alt="Navigating to Customer Revenue page in Mention Me" width="983" height="256" data-path="images/knowledge/esp-crm/emarsys/14000625556381.png" />
    </Frame>
  </Step>

  <Step title="Download customer segments">
    Click **Download customer segments** (if not visible, contact your CSM).

    <Frame caption="The Download customer segments button in Mention Me.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987438080413.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=4cdb21079b609c0b60eb658455d4daad" alt="Download customer segments button in Mention Me" width="2456" height="698" data-path="images/knowledge/esp-crm/emarsys/10987438080413.png" />
    </Frame>
  </Step>

  <Step title="Generate the file">
    Select all segments and click **Generate**.

    <Frame caption="Selecting ECR segments to generate a CSV in Mention Me.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987438087581.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=33031882dad2130e2817b4d7688011a4" alt="Selecting ECR segments to generate CSV" width="1026" height="736" data-path="images/knowledge/esp-crm/emarsys/10987438087581.png" />
    </Frame>

    A CSV file will be generated (up to 15 minutes). You'll receive an email notification when it's ready.
  </Step>

  <Step title="Download the CSV file">
    Click the link in the email to download (login required). You can also find the file under **Settings > Secure file transfer**.

    <Frame caption="The Secure file transfer page in Mention Me.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/27254224875677.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=3fc34dab15c0daa70c5cb265a692936a" alt="Secure file transfer page in Mention Me" width="2068" height="1486" data-path="images/knowledge/esp-crm/emarsys/27254224875677.png" />
    </Frame>
  </Step>
</Steps>

## Step 2: Create a CSV File for Emarsys

<Steps>
  <Step title="Open the downloaded file">
    Open the file using Excel, Google Sheets, or a similar tool.
  </Step>

  <Step title="Remove the header rows">
    Remove the first 3 rows (keep headers only).
  </Step>

  <Step title="Delete unused columns">
    Delete these columns: Individual Revenue, Revenue Referred, Friends ECR Value, Report Currency Code, First Name, Surname.
  </Step>

  <Step title="Rename the remaining columns">
    Rename columns:

    * Email address to Email
    * Activity Status to Mention Me ECR Activity
    * ECR Segment to Mention Me ECR Status

    <Note>
      Column names must be an exact match (case-sensitive), or duplicates may be created.
    </Note>
  </Step>

  <Step title="Reorder the Email column">
    Move the Email column to the first position.

    <Frame caption="The formatted CSV column layout for the Emarsys import.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987438162845.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=0cb2c5a790d773263d389c451e86722d" alt="Formatted CSV column layout for Emarsys import" width="1210" height="396" data-path="images/knowledge/esp-crm/emarsys/10987438162845.png" />
    </Frame>
  </Step>

  <Step title="Save the file">
    Save your final CSV file.
  </Step>
</Steps>

## Step 3: Upload Your CSV File to Emarsys

<Steps>
  <Step title="Navigate to Data Import">
    Go to **Contacts > Data Import** in Emarsys.

    <Frame caption="The Contacts Data Import navigation in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987584518813.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=fd49f6ab96e381c08bdac2dee5293909" alt="Contacts Data Import navigation in Emarsys" width="1128" height="868" data-path="images/knowledge/esp-crm/emarsys/10987584518813.png" />
    </Frame>
  </Step>

  <Step title="Import a file">
    Click **Import File**.

    <Frame caption="The Import File button in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987598392605.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=7f9881f2acb8d5eaf55299e32e346d13" alt="Import File button in Emarsys" width="623" height="443" data-path="images/knowledge/esp-crm/emarsys/10987598392605.png" />
    </Frame>
  </Step>

  <Step title="Import manually">
    Click **Import file manually**.

    <Frame caption="The Import file manually option in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987657135133.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=15d9f9e0f3e41a9bc2c7cdcbd555396b" alt="Import file manually option in Emarsys" width="702" height="579" data-path="images/knowledge/esp-crm/emarsys/10987657135133.png" />
    </Frame>
  </Step>

  <Step title="Select your CSV">
    Click **Select a file** and upload your formatted CSV.

    <Frame caption="Selecting the CSV file for upload in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987752265117.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=9ec47b3f074300b427a90aded5ebfaaa" alt="Selecting CSV file for upload in Emarsys" width="623" height="426" data-path="images/knowledge/esp-crm/emarsys/10987752265117.png" />
    </Frame>
  </Step>

  <Step title="Configure import settings">
    On the Settings screen, configure:

    * Unique Identifier = Email
    * Opt-in declarations = Status not defined

    <Frame caption="Import settings with the unique identifier and opt-in configuration in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987909941277.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=f5bf8db2d8f8eceedc54895bbb08064f" alt="Import settings with unique identifier and opt-in configuration" width="1344" height="355" data-path="images/knowledge/esp-crm/emarsys/10987909941277.png" />
    </Frame>
  </Step>

  <Step title="Set advanced settings">
    Click **Show Advanced Settings** and select **Update only**.

    <Frame caption="Advanced settings showing the Update only option in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10987993429661.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=8bd8a360f8ca40352376274dafa6d68c" alt="Advanced settings showing Update only option" width="516" height="304" data-path="images/knowledge/esp-crm/emarsys/10987993429661.png" />
    </Frame>

    <Note>
      No need to match columns - Mention Me fields are already created during integration.
    </Note>
  </Step>

  <Step title="Proceed to the next step">
    Click **Next step**.

    <Frame caption="The column matching step in the Emarsys import.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10988093175965.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=f5b01532912c349fe040c976214283c2" alt="Column matching step in Emarsys import" width="1543" height="730" data-path="images/knowledge/esp-crm/emarsys/10988093175965.png" />
    </Frame>
  </Step>

  <Step title="Confirm and continue">
    Click **Next step** again.
  </Step>

  <Step title="Name and start the import">
    Name the import **ECR Import**, then click **Start Import**.

    <Frame caption="Naming and starting the ECR import in Emarsys.">
      <img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/emarsys/10988247575965.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=6039e0e23db4b8a72214dd90018a1937" alt="Naming and starting the ECR import in Emarsys" width="859" height="404" data-path="images/knowledge/esp-crm/emarsys/10988247575965.png" />
    </Frame>
  </Step>
</Steps>

Once the import completes, the Mention Me ECR segment and activity will be available in Emarsys.
