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:
Search Term, and
The spreadsheet looks like this:
Add the Google Sheets Connector
Use the following steps to configure the Google Sheets connector in EventStream:
Navigate to EventStream > Event Connectors
Click on the + Add Connector button.
Under Categories in the side navigation panel, click Big Data to narrow the selections.
Select Google Sheets then click Continue.
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.
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.
Confirm your user account name and click Allow.
The configuration window for the connector now displays as Connected. Click Done.
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
- 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
- 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
Timestampto 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_keywordattribute into the spreadsheet column named
- Exclude empty values when updating
Check this box if you want to exclude empty attributes from updating or overriding existing data in your spreadsheet.
- Row Operation
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.
Thank you for your feedback!
This page was last updated: January 7, 2023