Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/what-are-the-custom-dimensions-to-be-added

# What are the Custom Dimensions to be added?

Whatfix requires custom dimensions, such as user\_id and flow\_id, to exist in the Google Analytics account to create Whatfix reports in Google Analytics 4 (GA4).

Note:

The data collected may vary between Whatfix Analytics and Google Analytics. Whatfix Analytics uses India Standard Time (IST) GMT +5:30, and Google Analytics must be configured to a different timezone. To see the same numbers, update the timezone in the Google Analytics account under Admin > View Settings > Time zone country or territory.

## What do the dimensions represent?

The following table outlines all dimensions for creating a Custom Dimension:

| Dimension        | Description                                                                                                                                                                              | Mandatory |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| device\_encoding | Encoding configured on the device.                                                                                                                                                       | No        |
| ent\_id          | Unique ID of the Whatfix enterprise for which the analytics account is created.                                                                                                          | Yes       |
| ent\_name        | Whatfix enterprise for which the analytics account is created.                                                                                                                           | Yes       |
| environment      | Locale of the Flow being played.                                                                                                                                                         | Yes       |
| extra\_1         | By default, this field is empty until set manually. It reserves space to send the first additional data in \_wfx\_settings.analytics\_js\_extra.                                         | Yes       |
| extra\_2         | By default, this field is empty until set manually. It reserves space to send the second additional data in \_wfx\_settings.analytics\_js\_extra.                                        | Yes       |
| flow\_id         | Unique ID of the Flow being played.                                                                                                                                                      | Yes       |
| flow\_title      | Title of the Flow being run.                                                                                                                                                             | Yes       |
| interaction\_id  | Auto-generated unique ID for each user interaction with a Whatfix widget.                                                                                                                | Yes       |
| locale           | Language configured for the browser.                                                                                                                                                     | No        |
| location         | The URL of the page on which this event is triggered.                                                                                                                                    | No        |
| on\_id           | The URL from where the event is triggered.                                                                                                                                               | Yes       |
| path             | Path of the event being recorded.                                                                                                                                                        | No        |
| segment\_id      | Unique ID of the segment configured through UI segmentation. This information is not sent for segments created through the integration script.                                           | Yes       |
| segment\_name    | Name of the segment. If the segment is configured through integration, then segment\_name is the flow\_title for the guided popup. For tasklist and self-help, the name is the title.    | Yes       |
| src\_id          | Source of the event. Possible values are "widget" implying Self Help widget, "guided\_popup", "smart\_popup", "beacon", "url", "js" implying Live Tour, "deck" implying Slideshow Embed. | Yes       |
| step\_id         | Description of the step.                                                                                                                                                                 | Yes       |
| unq\_id          | Unique user ID generated by Whatfix to identify users saved on the end-user browser as a cookie.                                                                                         | Yes       |
| user             | User configured in \_wfx\_settings.user.                                                                                                                                                 | Yes       |
| user\_id         | Unique ID of the Whatfix content creator using the application.                                                                                                                          | Yes       |
| user\_name       | The name of the Whatfix content creator using the application.                                                                                                                           | Yes       |
