Connectors: Add a connector

This step shows how to add a connector, configure an action, and use data mappings.

Create a Google Sheet

This example uses the Google Sheets connector to show how to log customer profile data to a spreadsheet, but you may use your own vendor. To prepare for this step, create a Google Sheets spreadsheet named “AudienceStream Test” and name the first two columns: “email” and “lifetime value”.

The spreadsheet looks like this:

Spreadsheet example

Add the Google Sheets Connector

Use the following steps to configure the Google Sheets connector:

  1. Navigate to AudienceStream > Audience Connectors.

  2. Click on the + Add Connector button.

  3. Under Categories in the side navigation panel, click Big Data to narrow the selections.

  4. Select Google Sheets then click Continue.

  5. On the Source tab, select what data you want to send

    • Audience from

      If audiences do not appear in the drop-down list, your account is probably not enabled for AudienceStream. Contact your account manager for assistance.

  6. Select a trigger of In Audience at end of visit

  7. Frequency Cap - (On/Off, Default: Off) controls how often the action triggers

    • Action Priority
    • Action Cooldown Group
  8. Name the action a descriptive name, such as VIP Big Spenders, and click Continue.

  9. On the Configuration tab, click Add Connector, enter the name of the connection and then click Establish Connection.
    The authorization dialog for your Google account appears.

  10. Confirm your user account name and click Allow.
    The configuration window for the connector now displays Connected. Click Done, and then Continue.

  11. On the Action tab, select the default action Add or Update Row, and configure the following parameters:

    • Row Operation
      Select Add Only to add new a row without lookup, Update Only to lookup an existing row and update it, or Add or Update to look up an existing row update it if found or add a new row if not found.

    • Spreadsheet Name
      Identifies the name of the spreadsheet file to use.
      Select the spreadsheet name from the drop-down, or enter the name of the spreadsheet file to use (such as “AudienceStream Test”). Spreadsheet

    • Worksheet Name
      Identifies the name of the worksheet within the spreadsheet to use.
      Select the worksheet name from the drop-down, or enter the name of the worksheet to use (such as “Sheet1”). Worksheet

    • Row ID
      Identifies the column that contains the unique row ID for each event, in this case the Email Address visitor attribute corresponds to the email column name in the sheet.
      Select your attribute from the Map list and enter the corresponding spreadsheet column name (Custom Value) in the To field. When the action fires, it searches for the attribute value in the specified column, then:

      • If the value exists, the matching row is updated as specified by the Row Data mappings (see next).
      • If the value does not exist, a new row is created with Row ID value and Attributes specified in Row Data.
    • Row Data
      Map additional attributes that you want to add to the spreadsheet. Each attribute must have an assigned column name in the spreadsheet. In this case, we are logging the value of the Lifetime Order Value attribute into the spreadsheet column named lifetime value .

      The names entered here must match the columns names above exactly.

    • Exclude empty values when updating
      Check this box if you want to exclude empty attributes from updating or overriding existing data in your spreadsheet.

  12. Click Continue to go to the Summary tab, and then click Finish to save.

Now save and publish your account and go the next step to start testing using the Trace tool.

Was this page helpful?

This page was last updated: January 7, 2023