Help Center

| Submit or View Help Requests | Developer Docs |

View desktop instructions
View mobile app instructions
Import Referral Program Data from SaaSquatch

This article houses useful references to assist you in importing your referral platform data from SaaSquatch to impact.com.

CSV file column reference

Users data file

Column

Required

Description

User ID

[Checked box green]

The participant's identifier.

Account ID

[Checked box green]

The participant's account identifier.

Email

[Exit]

The participant's email address.

First Name

[Exit]

The participant's first name.

Last Name

[Exit]

The participant's last name.

Referral Code

[Exit]

The participant's primary program referral code (if specified).

Image URL

[Exit]

The participant's image URL.

First Seen IP

[Exit]

The IP address of the participant the first time they did a non-API upsert.

Last Seen IP

[Exit]

The IP address of the participant the last time they did a non-API upsert.

Date Created

[Exit]

The date this participant user was created, formatted in milliseconds since unix epoch [External link].

Email Hash

[Exit]

The MD5 hash value of a participant's email address.

Locale

[Exit]

The participant's geographical location.

Country Code

[Exit]

The participant's country code.

Segments

[Exit]

The participant's user segments.

Share Link

[Exit]

The participant's primary program (if specified) share link.

Facebook Share Link

[Exit]

The participant's primary program (if specified) Facebook share link.

Twitter Share Link

[Exit]

The participant's primary program (if specified) Twitter/X share link.

Email Share Link

[Exit]

The participant's primary program (if specified) email share link.

LinkedIn Share Link

[Exit]

The participant's primary program (if specified) LinkedIn share link.

Clean Share Link

[Exit]

The participant's primary vanity link without encoding.

Custom Field

[Exit]

If a participant has a custom field, {ExampleName} will be the field name.

Referral data file

Column

Required

Description

Referred User - User ID

[Checked box green]

The referred friend's external user id.

Referred User - Account ID

[Checked box green]

The referred friend's external account id.

Referring User - User ID

[Checked box green]

The customer advocate's external user id.

Referring User - Account ID

[Checked box green]

The customer advocate's external account id.

Referral ID

[Exit]

The referral's unique identifier.

Date Modified

[Exit]

The date the referral was last modified (i.e. started, converted, moderated, etc.), formatted in milliseconds since unix epoch [External link].

Date Referral Started

[Exit]

The date the referral was created, formatted in milliseconds since unix epoch [External link].

Date Converted

[Exit]

The date the first goal was achieved, formatted in milliseconds since unix epoch [External link].

Date User Modified

[Exit]

The date a user was deleted from a referral (user deletion) or added to a referral, formatted in milliseconds since unix epoch [External link].

Program ID

[Exit]

The identifier of the program for which the referral was created.

Program Name

[Exit]

The name of the program for which the referral was created.

Referred User - Email

[Exit]

The referred friend's email address.

Referred User - First Name

[Exit]

The referred friend's first name.

Referred User - Last Name

[Exit]

The referred friend's last name.

Referred User - Referral Code

[Exit]

The referred friend's primary referral code (depends on the program in which this referral was created.

Referred User - First Seen IP

[Exit]

The first IP address the referred friend used when loading a widget.

Referred User - Last Seen IP

[Exit]

The most recent IP address the referred friend used when loading widget.

Referred User - Image URL

[Exit]

The referred friend's image.

Referred User - Locale

[Exit]

The locale of the referred friend.

Referred User - Date Created

[Exit]

The date the referred friend was first seen by SaaSquatch (created in SaaSquatch), formatted in milliseconds since unix epoch [External link].

Referred User - Segments

[Exit]

The referred friend's user segments.

referredUserCustomFields.<fieldName>

[Exit]

The referred friend's custom fields.

Referring User - Email

[Exit]

The customer advocate's email address.

Referring User - First Name

[Exit]

The customer advocate's first name.

Referring User - Last Name

[Exit]

The customer advocate's last name.

Referring User - Referral Code

[Exit]

The customer advocate's primary referral code (e.g. the referral code used to create this referral).

Referring User - First Seen IP

[Exit]

The first IP address the customer advocate used when loading a widget.

Referring User - Last Seen IP

[Exit]

The most recent IP address the customer advocate used when loading a widget.

Referring User - Image URL

[Exit]

The customer advocate's image.

Referring User - Locale

[Exit]

The locale of the customer advocate's.

Referring User - Date Created

[Exit]

The date the customer advocate was first seen by SaaSquatch (created in SaaSquatch), formatted in milliseconds since unix epoch [External link].

Moderation Status

[Exit]

The referral fraud moderation status (e.g., PENDING, ACTIONED).

Date Moderated

[Exit]

The date the referral started, formatted in milliseconds since unix epoch [External link].

Referred User - Reward ID

[Exit]

The referred friend's reward identifier.

Referring User - Reward ID

[Exit]

The customer advocate's reward identifier.

Referrer User - Segments

[Exit]

The customer advocate's user segments.

referrerUserCustomFields.<fieldName>

[Exit]

The customer advocate's custom fields.

Referral Code Used

[Exit]

The customer advocate's referral code that was used for the referral.

Share Link Used

[Exit]

The customer advocate's share link that was used for the referral.

Reward data file

Column

Required

Description

User ID

[Checked box green]

The user's identifier.

Account ID

[Checked box green]

The user's account identifier.

Type

[Exit]

The type of reward, e.g., Credit, Discount, Gift card, etc.

Reward Unit

[Exit]

The unit in which rewards are earned, e.g., Cash, Points, Months, etc.

Reward Value

[Exit]

The numeric value of the reward in its smallest measurement unit, e.g., for a cash reward of $1.00, the value would be 100 (cents).

Reward Name

[Exit]

The name you assigned to the reward when creating it in your program.

USD Value

[Exit]

The value of the reward in USD.

Program ID

[Exit]

The identifier of the program for which the reward was created.

Global Reward Key

[Exit]

Key of the global reward configuration in the reward catalog. This is under Rewards → Catalog → Create rewards → Reward Name.

Reward Source

[Exit]

How the reward was created, e.g., Manual, Referred user, Friend sign up.

Date Created

[Exit]

The date the reward was earned, formatted in milliseconds since unix epoch [External link].

Date Given

[Exit]

The date the reward was given, formatted in milliseconds since unix epoch [External link]. (This value can differ from Date Created if the reward was pending).

Date Scheduled For

[Exit]

The date the reward was scheduled to be given to the user, formatted in milliseconds since unix epoch [External link].

Date Expires

[Exit]

The date after which the reward can no longer be redeemed, formatted in milliseconds since unix epoch [External link].

Date Cancelled

[Exit]

The date you cancelled the reward, formatted in milliseconds since unix epoch [External link].

Date Modified

[Exit]

The date you made modifications to the reward, formatted in milliseconds since unix epoch [External link].

Date Redeemed

[Exit]

The date the full reward was redeemed by the user, formatted in milliseconds since unix epoch [External link].

Assigned Credit

[Exit]

The amount in the base unit for Credit rewards. This is the equivalent of Reward Value, but for Credit rewards.

Redeemed Amount

[Exit]

The Value of the portion of the reward that was redeemed.

Fuel Tank Type

[Exit]

This can be either Credit or % discount.

Fuel Tank Code

[Exit]

This is like coupon code, e.g., SummerSave20, 20%OFF, etc.

Referred User ID

[Exit]

The user identifier of the referred friend.

Referred Account ID

[Exit]

The identifier of the referred friend's account.

referral.referredUser.id

[Exit]

Used in conjunction with Program ID to link a referral to a Program ID, if we want to attach a referral to a reward. This may not always match the User ID.

referral.referredUser.accountId

[Exit]

Used in conjunction with Program ID to link a referral to a Program ID, if we want to attach a referral to a reward. This may not always match the Account ID.

Validation error reference

You can get 3 types of validation errors:

  1. Inline error message: these appear in the preview validation table and cause error rows to be highlighted in red:

    • INVALID_FIELD — e.g., the Date Created field wasn't formatted in milliseconds since unix epoch [External link].

    • MISSING_FIELD — e.g., a required field such as User ID or Account ID is missing.

    Screenshot_2024-09-17_at_11_16_19_AM.png
  2. Error callout: these appear in place of the preview validation table as red warning messages:

    • MISSING_HEADER — e.g., a required column header such as Account ID or Reward Value is missing.

    • CSV_PARSING — e.g., the CSV file contains special characters that are improperly formatted.

    • FILE_REF_IO — e.g., the file is corrupted and can't be read.

    Screenshot_2024-09-17_at_11_17_20_AM.png
  3. Listed errors: these appear as a list of error counts on the Imports & Exports screen when the import type doesn't have a preview validation table. Row errors and file errors will display together:

    Screenshot_2024-09-10_at_10_58_19_AM.png

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.