-
Notifications
You must be signed in to change notification settings - Fork 17
/
users_campaigns_enrollincontrol.view.lkml
86 lines (75 loc) · 1.75 KB
/
users_campaigns_enrollincontrol.view.lkml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Control Group Enrollment
view: users_campaigns_enrollincontrol {
sql_table_name: PUBLIC.USERS_CAMPAIGNS_ENROLLINCONTROL ;;
dimension: id {
primary_key: yes
description: "unique id of this event"
hidden: yes
type: string
sql: ${TABLE}."ID" ;;
}
dimension: app_id {
description: "id of the app"
hidden: yes
type: string
sql: ${TABLE}."APP_ID" ;;
}
dimension: campaign_id {
description: "id of the campaign"
hidden: yes
type: string
sql: ${TABLE}."CAMPAIGN_ID" ;;
}
dimension: campaign_name {
description: "name of the campaign"
hidden: yes
type: string
sql: ${TABLE}."CAMPAIGN_NAME" ;;
}
dimension_group: enrolled_in_control_time {
description: "timestamp of the campaign control group enrollment"
hidden: yes
type: time
datatype: epoch
timeframes: [
raw,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}."TIME" ;;
}
dimension: enrolled_in_control_timezone {
description: "IANA timezone of the user at the time of the event"
hidden: yes
type: string
sql: ${TABLE}."TIMEZONE" ;;
}
dimension: external_user_id {
description: "External ID of the user"
hidden: yes
type: string
sql: ${TABLE}."EXTERNAL_USER_ID" ;;
}
dimension: message_variation_id {
description: "id of the message variation"
hidden: yes
type: string
sql: ${TABLE}."MESSAGE_VARIATION_ID" ;;
}
dimension: send_id {
description: "id of the message if specified for the campaign"
hidden: yes
type: string
sql: ${TABLE}."SEND_ID" ;;
}
dimension: user_id {
description: "Braze user id of the user"
hidden: yes
type: string
sql: ${TABLE}."USER_ID" ;;
}
}