Skip to main content

Campaigns summary fact table columns

Bi_FactCampaignSummary

Field

Field Type

Description

PrimaryKey

MappedDimensionTable

DimensionTableField

CampaignEndDate

TIMESTAMP

End date that corresponds to the 'Offer is valid for x days' configuration while creating a campaign.

Campaignwid

bigint

The unique identifier that indicates the Campaign details(Bi_DimCampaign).

Bi_DimCampaign

campaignwid

CampaignSendDate

TIMESTAMP

Date and time at which the campaign notification is sent.

CampaignSendId

VARCHAR(36)

The code that identifies the employee that sent the campaign.

Bi_Dimuser

userwid

CampaignSendStatus

NVARCHAR(200)

Indicates the status of the campaign.

The possible values are as follows:

- Cancelled

- Sent

- Pending

CampaignSendType

VARCHAR(40)

This flag indicates the type of the campaign.

1: Email/SMS/Push Notification

3: Opportunity

5: Notes campaign

CampaignSentBy

NVARCHAR(1024)

Name of the employee who launched the campaign.

CampaignStartDate

TIMESTAMP

Start date that corresponds to the 'Offer is valid for x days' configuration while creating a campaign.

Centerwid

VARCHAR(36)

A unique identifier for the center, generated in Centre dimension(Bi_DimCentre).

Bi_DimCenter

centerwid

Clicked

INT

Number of emails in which guests clicked a link. This field is applicable only for email notifications.

Delivered

INT

Number of notifications that were successfully delivered to the guest.

DND

INT

Number of notifications that were not delivered because the guest had registered for Do Not Disturb (DND) mode.

FactCampaignID

VARCHAR(36)

The unique identifier that indicates the Campaign details

factcampaignwid

bigint

The unique identifier that indicates the Campaign details

Yes

MMSFailed

INT

Number of notifications that were not delivered to the guest because of a failure at Zenoti's end.

NumGuests

INT

Number of guests that meet the criteria specified in the target segment.

Opened

INT

Number of emails that were opened by guests. This field is applicable only for email notifications.

OrganizationId

VARCHAR(36)

A code that uniquely identifies an Organization

Bi_DimCenter

centerwid

PODID

integer

Internal to the ETL, says from which POD data is being synced the table

PodName

VARCHAR(20)

Internal to the ETL, says from which POD data is being synced the table

Processed

INT

Subset of guests out of the '# of guests' field who are eligible to receive notifications.

Queued

INT

Number of notifications that were successfully processed by the notifications engine, but the guest's carrier did not yet return a status.

SentTo

INT

Number of notifications that were actually processed on the corresponding date for the corresponding campaign. # of sent to' = '# of dnd' + '# of mms failed' + '# of undelivered' + '# of queued' + '# of delivered'

UnDelivered

INT

Number of notifications that were not delivered to the guest because of a failure at the notification engine's end.

Void

BOOLEAN

Indicates if the row should be inserted or deleted. 1- delete, 0-insert

groupid

Internal to Zenoti. Used for data processing.

BIGINT