# updateData

### Description

This method allows you to change any visitor data property; the changes are reflected in the 'geoflow' JS object and session storage. One advantage to this is that it allows you to simulate what different visitors may experience on your Webflow website.

An object containing key-value pairs of visitor data properties, separated by commas, is accepted. Each key-value pair consists of a propertyName (e.g. countryCode) as the key and its corresponding propertyValue (e.g. US) as the value. Both are treated as strings.

The geoflowUpdated event will be fired, and the Geoflow\_Updated callback will be triggered.

### Parameters

```vbnet
{ propertyName (string key): propertyValue (string) }
```

### Using This Method

```javascript
geoflow.updateData({ countryCode: 'US' });
```

### Output

```javascript
true (boolean)
```
