Connectors: Add a connector

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

This example uses the Google Sheets connector to show how to log events to a spreadsheet, but you may use your own vendor. To prepare for this step create a Google Sheets spreadsheet named EventStream Test and name the first three columns: Timestamp, Search Term, and Search Results.

The spreadsheet looks like this:


Add the Google Sheets Connector

Use the following steps to configure the Google Sheets connector in EventStream:

  1. Navigate to EventStream > Event 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. Select Source

  5. On the Source tab, select the Data Source and Event Feed that correspond to the data that you want to send, and provide a name for this action.

  6. On the Configuration tab, click Add Connector, enter the Name of the connectiona and then click Establish Connection.
    The authorization dialog for your Google account appears.

  7. Confirm your user account name and click Allow.
    The configuration window for the connector now displays as Connected. Click Done.

  8. 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 EventStream Test).
    • 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).
    • Row ID
      Identifies the column that contains the unique row ID for each event. This is usually the event timestamp attribute. We named the column Timestamp to be used in the mapping.

      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 search_keyword attribute into the spreadsheet column named Search Term.
    • Exclude empty values when updating
      Check this box if you want to exclude empty attributes from updating or overriding existing data in your spreadsheet.
  9. 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