oursprivacy-ingest 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3767105dbac8ee15778f0c235394576a7ef00b40a385acf516311e517e2ecb0c
4
- data.tar.gz: 20a9b6e80125289e1d57a52c9b5ca65095603899abacce6af4a1656e7c87572e
3
+ metadata.gz: 8021430695f2b1f1e918d26d0ec16836fd907ba72708642373dde6d1421f46dd
4
+ data.tar.gz: bb61126b47beb14a9799c1b405917c0cd1ea4afe032e7f6fce53b6cd324d2110
5
5
  SHA512:
6
- metadata.gz: f35c01f70e5a44a414b6c0f6ff3952d567bdd13c16c1f913c2c8cde6348ed3f4c0659fc74cd3f113103d75e36b0fadb2bfcbca93fd31d2d453f122a8fb499087
7
- data.tar.gz: 06dca080636d4f55e38c514fda48eb9baf95213a14c77930f981ccee1f161116e3bf1c55184f9ee1474993060731f6fc152e4e72311631c26063181e19b15d9f
6
+ metadata.gz: 9029db50b680fca57031ed9079f8019a1ab252308e28adaeca1cc8f513e496a0f1ffe503b438aa12c8efa7241fcce74a5ae10a7e39a80ce6ff31adfb306e33d5
7
+ data.tar.gz: 483a272bd00a43a385911248ed5a2bf86eabddf477c4c510ef24d588e8b7eb9f51f1d29d05af8954f563e9faa804fa16e1820089ca52bcb6409d11e3cb2f44af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.3.0 (2026-11-13)
4
+
5
+ Full Changelog: [v2.2.0...v2.3.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.2.0...v2.3.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** API update.
10
+ ## 2.2.0 (2026-11-10)
11
+
12
+ Full Changelog: [v2.1.0...v2.2.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.1.0...v2.2.0)
13
+
14
+ ### Features
15
+
16
+ * **api:** API update.
3
17
  ## 2.1.0 (2026-11-05)
4
18
 
5
19
  Full Changelog: [v2.0.1...v2.1.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.0.1...v2.1.0)
data/README.md CHANGED
@@ -19,7 +19,7 @@ To use this gem, install via Bundler by adding the following to your application
19
19
  <!-- x-release-please-start-version -->
20
20
 
21
21
  ```ruby
22
- gem "oursprivacy-ingest", "~> 2.1.0"
22
+ gem "oursprivacy-ingest", "~> 2.3.0"
23
23
  ```
24
24
 
25
25
  <!-- x-release-please-end -->
@@ -60,7 +60,7 @@ module OursprivacyIngest
60
60
  nil?: true
61
61
 
62
62
  # @!attribute email
63
- # The email address of a user. When userId is absent and externalId does not
63
+ # The email address of a user. When visitorId is absent and externalId does not
64
64
  # resolve a visitor, we search your account for a visitor with this email. If no
65
65
  # match is found, we try userProperties.phone_number before creating a new
66
66
  # visitor. Leading and trailing whitespace is removed before validation.
@@ -86,11 +86,11 @@ module OursprivacyIngest
86
86
  nil?: true
87
87
 
88
88
  # @!attribute external_id
89
- # Your system's unique identifier for this user. When userId is absent, we search
90
- # your account for an existing visitor with this externalId. If no match is found,
91
- # we try email and then userProperties.phone_number before creating a new visitor.
92
- # If you also have the userId from cookies or local storage, send both — it
93
- # removes the lookup round-trip. Non-string input is converted to text before
89
+ # Your system's unique identifier for this user. When visitorId is absent, we
90
+ # search your account for an existing visitor with this externalId. If no match is
91
+ # found, we try email and then userProperties.phone_number before creating a new
92
+ # visitor. If you also have the visitorId from cookies or local storage, send both
93
+ # — it removes the lookup round-trip. Non-string input is converted to text before
94
94
  # validation; clients should send a string. Leading and trailing whitespace is
95
95
  # removed before validation.
96
96
  #
@@ -117,11 +117,14 @@ module OursprivacyIngest
117
117
  optional :time, Float, nil?: true
118
118
 
119
119
  # @!attribute user_id
120
+ # @deprecated
121
+ #
120
122
  # The Ours Visitor ID stored in local storage and cookies on your web properties.
121
123
  # When present, this is used directly — no lookup by externalId, email, or phone
122
- # is performed. If you have both a userId and an externalId, send both so the
123
- # event is attached to the right visitor without any lookup overhead. Leading and
124
- # trailing whitespace is removed before validation.
124
+ # is performed. If you have both a visitorId and an externalId, send both so the
125
+ # event is attached to the right visitor without any lookup overhead. visitorId
126
+ # takes precedence over the deprecated userId alias. Leading and trailing
127
+ # whitespace is removed before validation.
125
128
  #
126
129
  # @return [String, nil]
127
130
  optional :user_id, String, api_name: :userId, nil?: true
@@ -136,7 +139,18 @@ module OursprivacyIngest
136
139
  api_name: :userProperties,
137
140
  nil?: true
138
141
 
139
- # @!method initialize(distinct_id:, event:, default_properties: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil)
142
+ # @!attribute visitor_id
143
+ # The Ours Visitor ID stored in local storage and cookies on your web properties.
144
+ # When present, this is used directly — no lookup by externalId, email, or phone
145
+ # is performed. If you have both a visitorId and an externalId, send both so the
146
+ # event is attached to the right visitor without any lookup overhead. visitorId
147
+ # takes precedence over the deprecated userId alias. Leading and trailing
148
+ # whitespace is removed before validation.
149
+ #
150
+ # @return [String, nil]
151
+ optional :visitor_id, String, api_name: :visitorId, nil?: true
152
+
153
+ # @!method initialize(distinct_id:, event:, default_properties: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, visitor_id: nil)
140
154
  # Some parameter documentations has been truncated, see
141
155
  # {OursprivacyIngest::Models::BatchCreateParams::Event} for more details.
142
156
  #
@@ -146,11 +160,11 @@ module OursprivacyIngest
146
160
  #
147
161
  # @param default_properties [OursprivacyIngest::Models::BatchCreateParams::Event::DefaultProperties, nil] These properties are used throughout the Ours app to pass known values onto dest
148
162
  #
149
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
163
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
150
164
  #
151
165
  # @param event_properties [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, nil}, nil}, nil}, nil}, nil}, nil] Any additional event properties you want to pass along. Use at most 200 nonempty
152
166
  #
153
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
167
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
154
168
  #
155
169
  # @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
156
170
  #
@@ -159,6 +173,8 @@ module OursprivacyIngest
159
173
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
160
174
  #
161
175
  # @param user_properties [OursprivacyIngest::Models::BatchCreateParams::Event::UserProperties, nil] Properties to set on the visitor. (optional) You can also update these propertie
176
+ #
177
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
162
178
 
163
179
  # @see OursprivacyIngest::Models::BatchCreateParams::Event#default_properties
164
180
  class DefaultProperties < OursprivacyIngest::Internal::Type::BaseModel
@@ -183,6 +199,13 @@ module OursprivacyIngest
183
199
  # @return [String, nil]
184
200
  optional :ad_id, String, nil?: true
185
201
 
202
+ # @!attribute adct
203
+ # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
204
+ # trailing whitespace is removed before validation.
205
+ #
206
+ # @return [String, nil]
207
+ optional :adct, String, nil?: true
208
+
186
209
  # @!attribute admitad_uid
187
210
  # The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and
188
211
  # trailing whitespace is removed before validation.
@@ -752,7 +775,7 @@ module OursprivacyIngest
752
775
  # @return [String, nil]
753
776
  optional :ylpcid, String, nil?: true
754
777
 
755
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
778
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
756
779
  # Some parameter documentations has been truncated, see
757
780
  # {OursprivacyIngest::Models::BatchCreateParams::Event::DefaultProperties} for
758
781
  # more details.
@@ -767,6 +790,8 @@ module OursprivacyIngest
767
790
  #
768
791
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
769
792
  #
793
+ # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
794
+ #
770
795
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
771
796
  #
772
797
  # @param adset_id [String, nil] The adset id detected in the session. This is set by the web sdk automatically.
@@ -1279,6 +1304,12 @@ module OursprivacyIngest
1279
1304
  # @return [String, nil]
1280
1305
  optional :ad_id, String, nil?: true
1281
1306
 
1307
+ # @!attribute adct
1308
+ # Leading and trailing whitespace is removed before validation.
1309
+ #
1310
+ # @return [String, nil]
1311
+ optional :adct, String, nil?: true
1312
+
1282
1313
  # @!attribute admitad_uid
1283
1314
  # Leading and trailing whitespace is removed before validation.
1284
1315
  #
@@ -1692,7 +1723,7 @@ module OursprivacyIngest
1692
1723
  },
1693
1724
  nil?: true
1694
1725
 
1695
- # @!method initialize(_ef_transaction_id: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1726
+ # @!method initialize(_ef_transaction_id: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1696
1727
  # Some parameter documentations has been truncated, see
1697
1728
  # {OursprivacyIngest::Models::BatchCreateParams::Event::UserProperties} for more
1698
1729
  # details.
@@ -1704,6 +1735,8 @@ module OursprivacyIngest
1704
1735
  #
1705
1736
  # @param ad_id [String, nil]
1706
1737
  #
1738
+ # @param adct [String, nil] Leading and trailing whitespace is removed before validation.
1739
+ #
1707
1740
  # @param admitad_uid [String, nil] Leading and trailing whitespace is removed before validation.
1708
1741
  #
1709
1742
  # @param adset_id [String, nil]
@@ -43,7 +43,7 @@ module OursprivacyIngest
43
43
  optional :distinct_id, String, api_name: :distinctId, nil?: true
44
44
 
45
45
  # @!attribute email
46
- # The email address of a user. When userId is absent and externalId does not
46
+ # The email address of a user. When visitorId is absent and externalId does not
47
47
  # resolve a visitor, we search your account for a visitor with this email. If no
48
48
  # match is found, we try userProperties.phone_number before creating a new
49
49
  # visitor. Leading and trailing whitespace is removed before validation.
@@ -69,11 +69,11 @@ module OursprivacyIngest
69
69
  nil?: true
70
70
 
71
71
  # @!attribute external_id
72
- # Your system's unique identifier for this user. When userId is absent, we search
73
- # your account for an existing visitor with this externalId. If no match is found,
74
- # we try email and then userProperties.phone_number before creating a new visitor.
75
- # If you also have the userId from cookies or local storage, send both — it
76
- # removes the lookup round-trip. Non-string input is converted to text before
72
+ # Your system's unique identifier for this user. When visitorId is absent, we
73
+ # search your account for an existing visitor with this externalId. If no match is
74
+ # found, we try email and then userProperties.phone_number before creating a new
75
+ # visitor. If you also have the visitorId from cookies or local storage, send both
76
+ # — it removes the lookup round-trip. Non-string input is converted to text before
77
77
  # validation; clients should send a string. Leading and trailing whitespace is
78
78
  # removed before validation.
79
79
  #
@@ -100,11 +100,14 @@ module OursprivacyIngest
100
100
  optional :time, Float, nil?: true
101
101
 
102
102
  # @!attribute user_id
103
+ # @deprecated
104
+ #
103
105
  # The Ours Visitor ID stored in local storage and cookies on your web properties.
104
106
  # When present, this is used directly — no lookup by externalId, email, or phone
105
- # is performed. If you have both a userId and an externalId, send both so the
106
- # event is attached to the right visitor without any lookup overhead. Leading and
107
- # trailing whitespace is removed before validation.
107
+ # is performed. If you have both a visitorId and an externalId, send both so the
108
+ # event is attached to the right visitor without any lookup overhead. visitorId
109
+ # takes precedence over the deprecated userId alias. Leading and trailing
110
+ # whitespace is removed before validation.
108
111
  #
109
112
  # @return [String, nil]
110
113
  optional :user_id, String, api_name: :userId, nil?: true
@@ -119,7 +122,18 @@ module OursprivacyIngest
119
122
  api_name: :userProperties,
120
123
  nil?: true
121
124
 
122
- # @!method initialize(token:, event:, default_properties: nil, distinct_id: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, request_options: {})
125
+ # @!attribute visitor_id
126
+ # The Ours Visitor ID stored in local storage and cookies on your web properties.
127
+ # When present, this is used directly — no lookup by externalId, email, or phone
128
+ # is performed. If you have both a visitorId and an externalId, send both so the
129
+ # event is attached to the right visitor without any lookup overhead. visitorId
130
+ # takes precedence over the deprecated userId alias. Leading and trailing
131
+ # whitespace is removed before validation.
132
+ #
133
+ # @return [String, nil]
134
+ optional :visitor_id, String, api_name: :visitorId, nil?: true
135
+
136
+ # @!method initialize(token:, event:, default_properties: nil, distinct_id: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, visitor_id: nil, request_options: {})
123
137
  # Some parameter documentations has been truncated, see
124
138
  # {OursprivacyIngest::Models::TrackEventParams} for more details.
125
139
  #
@@ -131,11 +145,11 @@ module OursprivacyIngest
131
145
  #
132
146
  # @param distinct_id [String, nil] A unique identifier for this event used for deduplication. Highly recommended —
133
147
  #
134
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
148
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
135
149
  #
136
150
  # @param event_properties [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, nil}, nil}, nil}, nil}, nil}, nil] Any additional event properties you want to pass along. Use at most 200 nonempty
137
151
  #
138
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
152
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
139
153
  #
140
154
  # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
141
155
  #
@@ -145,6 +159,8 @@ module OursprivacyIngest
145
159
  #
146
160
  # @param user_properties [OursprivacyIngest::Models::TrackEventParams::UserProperties, nil] Properties to set on the visitor. (optional) You can also update these propertie
147
161
  #
162
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
163
+ #
148
164
  # @param request_options [OursprivacyIngest::RequestOptions, Hash{Symbol=>Object}]
149
165
 
150
166
  class DefaultProperties < OursprivacyIngest::Internal::Type::BaseModel
@@ -169,6 +185,13 @@ module OursprivacyIngest
169
185
  # @return [String, nil]
170
186
  optional :ad_id, String, nil?: true
171
187
 
188
+ # @!attribute adct
189
+ # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
190
+ # trailing whitespace is removed before validation.
191
+ #
192
+ # @return [String, nil]
193
+ optional :adct, String, nil?: true
194
+
172
195
  # @!attribute admitad_uid
173
196
  # The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and
174
197
  # trailing whitespace is removed before validation.
@@ -740,7 +763,7 @@ module OursprivacyIngest
740
763
  # @return [String, nil]
741
764
  optional :ylpcid, String, nil?: true
742
765
 
743
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
766
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
744
767
  # Some parameter documentations has been truncated, see
745
768
  # {OursprivacyIngest::Models::TrackEventParams::DefaultProperties} for more
746
769
  # details.
@@ -755,6 +778,8 @@ module OursprivacyIngest
755
778
  #
756
779
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
757
780
  #
781
+ # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
782
+ #
758
783
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
759
784
  #
760
785
  # @param adset_id [String, nil] The adset id detected in the session. This is set by the web sdk automatically.
@@ -1261,6 +1286,12 @@ module OursprivacyIngest
1261
1286
  # @return [String, nil]
1262
1287
  optional :ad_id, String, nil?: true
1263
1288
 
1289
+ # @!attribute adct
1290
+ # Leading and trailing whitespace is removed before validation.
1291
+ #
1292
+ # @return [String, nil]
1293
+ optional :adct, String, nil?: true
1294
+
1264
1295
  # @!attribute admitad_uid
1265
1296
  # Leading and trailing whitespace is removed before validation.
1266
1297
  #
@@ -1668,7 +1699,7 @@ module OursprivacyIngest
1668
1699
  # @return [String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil]
1669
1700
  optional :zip, union: -> { OursprivacyIngest::TrackEventParams::UserProperties::Zip }, nil?: true
1670
1701
 
1671
- # @!method initialize(_ef_transaction_id: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1702
+ # @!method initialize(_ef_transaction_id: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
1672
1703
  # Some parameter documentations has been truncated, see
1673
1704
  # {OursprivacyIngest::Models::TrackEventParams::UserProperties} for more details.
1674
1705
  #
@@ -1679,6 +1710,8 @@ module OursprivacyIngest
1679
1710
  #
1680
1711
  # @param ad_id [String, nil]
1681
1712
  #
1713
+ # @param adct [String, nil] Leading and trailing whitespace is removed before validation.
1714
+ #
1682
1715
  # @param admitad_uid [String, nil] Leading and trailing whitespace is removed before validation.
1683
1716
  #
1684
1717
  # @param adset_id [String, nil]
@@ -35,7 +35,7 @@ module OursprivacyIngest
35
35
  nil?: true
36
36
 
37
37
  # @!attribute email
38
- # The email address of a user. When userId is absent and externalId does not
38
+ # The email address of a user. When visitorId is absent and externalId does not
39
39
  # resolve a visitor, we search your account for a visitor with this email. If no
40
40
  # match is found, we try userProperties.phone_number before creating a new
41
41
  # visitor. Leading and trailing whitespace is removed before validation.
@@ -44,11 +44,11 @@ module OursprivacyIngest
44
44
  optional :email, String, nil?: true
45
45
 
46
46
  # @!attribute external_id
47
- # Your system's unique identifier for this user. When userId is absent, we search
48
- # your account for an existing visitor with this externalId. If no match is found,
49
- # we try email and then userProperties.phone_number before creating a new visitor.
50
- # If you also have the userId from cookies or local storage, send both — it
51
- # removes the lookup round-trip. Non-string input is converted to text before
47
+ # Your system's unique identifier for this user. When visitorId is absent, we
48
+ # search your account for an existing visitor with this externalId. If no match is
49
+ # found, we try email and then userProperties.phone_number before creating a new
50
+ # visitor. If you also have the visitorId from cookies or local storage, send both
51
+ # — it removes the lookup round-trip. Non-string input is converted to text before
52
52
  # validation; clients should send a string. Leading and trailing whitespace is
53
53
  # removed before validation.
54
54
  #
@@ -67,16 +67,30 @@ module OursprivacyIngest
67
67
  nil?: true
68
68
 
69
69
  # @!attribute user_id
70
+ # @deprecated
71
+ #
70
72
  # The Ours Visitor ID stored in local storage and cookies on your web properties.
71
73
  # When present, this is used directly — no lookup by externalId, email, or phone
72
- # is performed. If you have both a userId and an externalId, send both so the
73
- # event is attached to the right visitor without any lookup overhead. Leading and
74
- # trailing whitespace is removed before validation.
74
+ # is performed. If you have both a visitorId and an externalId, send both so the
75
+ # event is attached to the right visitor without any lookup overhead. visitorId
76
+ # takes precedence over the deprecated userId alias. Leading and trailing
77
+ # whitespace is removed before validation.
75
78
  #
76
79
  # @return [String, nil]
77
80
  optional :user_id, String, api_name: :userId, nil?: true
78
81
 
79
- # @!method initialize(token:, user_properties:, default_properties: nil, email: nil, external_id: nil, identity_context: nil, user_id: nil, request_options: {})
82
+ # @!attribute visitor_id
83
+ # The Ours Visitor ID stored in local storage and cookies on your web properties.
84
+ # When present, this is used directly — no lookup by externalId, email, or phone
85
+ # is performed. If you have both a visitorId and an externalId, send both so the
86
+ # event is attached to the right visitor without any lookup overhead. visitorId
87
+ # takes precedence over the deprecated userId alias. Leading and trailing
88
+ # whitespace is removed before validation.
89
+ #
90
+ # @return [String, nil]
91
+ optional :visitor_id, String, api_name: :visitorId, nil?: true
92
+
93
+ # @!method initialize(token:, user_properties:, default_properties: nil, email: nil, external_id: nil, identity_context: nil, user_id: nil, visitor_id: nil, request_options: {})
80
94
  # Some parameter documentations has been truncated, see
81
95
  # {OursprivacyIngest::Models::VisitorUpsertParams} for more details.
82
96
  #
@@ -86,14 +100,16 @@ module OursprivacyIngest
86
100
  #
87
101
  # @param default_properties [OursprivacyIngest::Models::VisitorUpsertParams::DefaultProperties, nil] These properties are used throughout the Ours app to pass known values onto dest
88
102
  #
89
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
103
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
90
104
  #
91
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
105
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
92
106
  #
93
107
  # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
94
108
  #
95
109
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
96
110
  #
111
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
112
+ #
97
113
  # @param request_options [OursprivacyIngest::RequestOptions, Hash{Symbol=>Object}]
98
114
 
99
115
  class UserProperties < OursprivacyIngest::Internal::Type::BaseModel
@@ -108,6 +124,12 @@ module OursprivacyIngest
108
124
  # @return [String, nil]
109
125
  optional :ad_id, String, nil?: true
110
126
 
127
+ # @!attribute adct
128
+ # Leading and trailing whitespace is removed before validation.
129
+ #
130
+ # @return [String, nil]
131
+ optional :adct, String, nil?: true
132
+
111
133
  # @!attribute admitad_uid
112
134
  # Leading and trailing whitespace is removed before validation.
113
135
  #
@@ -519,7 +541,7 @@ module OursprivacyIngest
519
541
  # @return [String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil]
520
542
  optional :zip, union: -> { OursprivacyIngest::VisitorUpsertParams::UserProperties::Zip }, nil?: true
521
543
 
522
- # @!method initialize(_ef_transaction_id: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
544
+ # @!method initialize(_ef_transaction_id: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, campaign_id: nil, city: nil, clickid: nil, clid: nil, company_name: nil, consent: nil, country: nil, custom_properties: nil, date_of_birth: nil, dclid: nil, email: nil, epik: nil, external_id: nil, fbc: nil, fbclid: nil, fbp: nil, first_name: nil, gad_source: nil, gbraid: nil, gclid: nil, gender: nil, graid: nil, grclid: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, job_title: nil, last_name: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, ob_click_id: nil, oppref: nil, phone_number: nil, qclid: nil, rdt_cid: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, sid: nil, state: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, user_agent: nil, user_agent_full_list: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, ylpcid: nil, zip: nil)
523
545
  # Some parameter documentations has been truncated, see
524
546
  # {OursprivacyIngest::Models::VisitorUpsertParams::UserProperties} for more
525
547
  # details.
@@ -532,6 +554,8 @@ module OursprivacyIngest
532
554
  #
533
555
  # @param ad_id [String, nil]
534
556
  #
557
+ # @param adct [String, nil] Leading and trailing whitespace is removed before validation.
558
+ #
535
559
  # @param admitad_uid [String, nil] Leading and trailing whitespace is removed before validation.
536
560
  #
537
561
  # @param adset_id [String, nil]
@@ -1344,6 +1368,13 @@ module OursprivacyIngest
1344
1368
  # @return [String, nil]
1345
1369
  optional :ad_id, String, nil?: true
1346
1370
 
1371
+ # @!attribute adct
1372
+ # The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and
1373
+ # trailing whitespace is removed before validation.
1374
+ #
1375
+ # @return [String, nil]
1376
+ optional :adct, String, nil?: true
1377
+
1347
1378
  # @!attribute admitad_uid
1348
1379
  # The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and
1349
1380
  # trailing whitespace is removed before validation.
@@ -1913,7 +1944,7 @@ module OursprivacyIngest
1913
1944
  # @return [String, nil]
1914
1945
  optional :ylpcid, String, nil?: true
1915
1946
 
1916
- # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
1947
+ # @!method initialize(_ef_transaction_id: nil, active_duration: nil, ad_id: nil, adct: nil, admitad_uid: nil, adset_id: nil, affiliatly_v3: nil, alart: nil, aleid: nil, axwrt: nil, basis_cid: nil, beeswax_auction_id: nil, browser_language: nil, browser_name: nil, browser_version: nil, campaign_id: nil, clickid: nil, clid: nil, cpu_architecture: nil, current_url: nil, dclid: nil, device_model: nil, device_type: nil, device_vendor: nil, duration: nil, encoding: nil, engine_name: nil, engine_version: nil, epik: nil, fbc: nil, fbclid: nil, fbp: nil, fv: nil, gad_source: nil, gbraid: nil, gclid: nil, graid: nil, grclid: nil, host: nil, iframe: nil, im_ref: nil, ip: nil, irclickid: nil, is_bot: nil, li_fat_id: nil, msclkid: nil, ndclid: nil, new_s: nil, ob_click_id: nil, oppref: nil, os_name: nil, os_version: nil, page_hash: nil, pathname: nil, qclid: nil, rdt_cid: nil, received_at: nil, referrer: nil, referring_domain: nil, sacid: nil, sccid: nil, screen_height: nil, screen_width: nil, session_count: nil, sid: nil, sr: nil, title: nil, ttclid: nil, ttd_impression_id: nil, twclid: nil, uafvl: nil, user_agent: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_name: nil, utm_source: nil, utm_term: nil, version: nil, viant_click_id: nil, viant_impression_id: nil, wbraid: nil, webview: nil, ylpcid: nil)
1917
1948
  # Some parameter documentations has been truncated, see
1918
1949
  # {OursprivacyIngest::Models::VisitorUpsertParams::DefaultProperties} for more
1919
1950
  # details.
@@ -1928,6 +1959,8 @@ module OursprivacyIngest
1928
1959
  #
1929
1960
  # @param ad_id [String, nil] The ad id detected in the session. This is set by the web sdk automatically. Lea
1930
1961
  #
1962
+ # @param adct [String, nil] The AdRoll Click ID (adct) from the landing URL. Ex: adct123 Leading and trailin
1963
+ #
1931
1964
  # @param admitad_uid [String, nil] The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123 Leading and trail
1932
1965
  #
1933
1966
  # @param adset_id [String, nil] The adset id detected in the session. This is set by the web sdk automatically.
@@ -6,20 +6,20 @@ module OursprivacyIngest
6
6
  # Some parameter documentations has been truncated, see
7
7
  # {OursprivacyIngest::Models::TrackEventParams} for more details.
8
8
  #
9
- # Track events from your server. Include userId, externalId, email, or
9
+ # Track events from your server. Include visitorId, externalId, email, or
10
10
  # userProperties.phone_number to associate the event with an existing visitor.
11
- # Identity resolution runs in priority order: userId (direct, no lookup) →
11
+ # Identity resolution runs in priority order: visitorId (direct, no lookup) →
12
12
  # externalId → email → userProperties.phone_number. Each lookup runs only if
13
13
  # earlier identifiers did not resolve a visitor. Phone matching ignores common
14
14
  # formatting and an international + or 00 prefix, but does not infer a country
15
- # code. If you know both userId and externalId, send both. For top-level visitor
16
- # properties: null clears the existing value, while undefined, omitted fields, and
17
- # empty strings are ignored. For entries inside custom_properties: null,
18
- # undefined, and empty strings are all ignored (custom_properties use merge
15
+ # code. If you know both visitorId and externalId, send both. For top-level
16
+ # visitor properties: null clears the existing value, while undefined, omitted
17
+ # fields, and empty strings are ignored. For entries inside custom_properties:
18
+ # null, undefined, and empty strings are all ignored (custom_properties use merge
19
19
  # semantics). See https://docs.oursprivacy.com/docs/data-types for details and
20
20
  # common pitfalls.
21
21
  #
22
- # @overload event(token:, event:, default_properties: nil, distinct_id: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, request_options: {})
22
+ # @overload event(token:, event:, default_properties: nil, distinct_id: nil, email: nil, event_properties: nil, external_id: nil, identity_context: nil, time: nil, user_id: nil, user_properties: nil, visitor_id: nil, request_options: {})
23
23
  #
24
24
  # @param token [String] The token for your Source. You can find this in the dashboard. Leading and trail
25
25
  #
@@ -29,11 +29,11 @@ module OursprivacyIngest
29
29
  #
30
30
  # @param distinct_id [String, nil] A unique identifier for this event used for deduplication. Highly recommended —
31
31
  #
32
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
32
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
33
33
  #
34
34
  # @param event_properties [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean, Array<Object>, Hash{Symbol=>Object}, nil>, nil}, nil}, nil}, nil}, nil}, nil] Any additional event properties you want to pass along. Use at most 200 nonempty
35
35
  #
36
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
36
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
37
37
  #
38
38
  # @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
39
39
  #
@@ -43,6 +43,8 @@ module OursprivacyIngest
43
43
  #
44
44
  # @param user_properties [OursprivacyIngest::Models::TrackEventParams::UserProperties, nil] Properties to set on the visitor. (optional) You can also update these propertie
45
45
  #
46
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
47
+ #
46
48
  # @param request_options [OursprivacyIngest::RequestOptions, Hash{Symbol=>Object}, nil]
47
49
  #
48
50
  # @return [OursprivacyIngest::Models::TrackEventResponse]
@@ -8,7 +8,7 @@ module OursprivacyIngest
8
8
  #
9
9
  # Set or update properties on an existing visitor, or create a new visitor if no
10
10
  # match is found. This fires a $identify event, making the call visible in the
11
- # event stream. Identity resolution runs in priority order: userId (direct, no
11
+ # event stream. Identity resolution runs in priority order: visitorId (direct, no
12
12
  # lookup) → externalId → email → userProperties.phone_number. Each lookup runs
13
13
  # only if earlier identifiers did not resolve a visitor. Phone matching ignores
14
14
  # common formatting and an international + or 00 prefix, but does not infer a
@@ -20,7 +20,7 @@ module OursprivacyIngest
20
20
  # semantics). See https://docs.oursprivacy.com/docs/data-types for details and
21
21
  # common pitfalls.
22
22
  #
23
- # @overload upsert(token:, user_properties:, default_properties: nil, email: nil, external_id: nil, identity_context: nil, user_id: nil, request_options: {})
23
+ # @overload upsert(token:, user_properties:, default_properties: nil, email: nil, external_id: nil, identity_context: nil, user_id: nil, visitor_id: nil, request_options: {})
24
24
  #
25
25
  # @param token [String] The token for your Source. You can find this in the dashboard. Leading and trail
26
26
  #
@@ -28,14 +28,16 @@ module OursprivacyIngest
28
28
  #
29
29
  # @param default_properties [OursprivacyIngest::Models::VisitorUpsertParams::DefaultProperties, nil] These properties are used throughout the Ours app to pass known values onto dest
30
30
  #
31
- # @param email [String, nil] The email address of a user. When userId is absent and externalId does not resol
31
+ # @param email [String, nil] The email address of a user. When visitorId is absent and externalId does not re
32
32
  #
33
- # @param external_id [String, nil] Your system's unique identifier for this user. When userId is absent, we search
33
+ # @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
34
34
  #
35
35
  # @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] End-user network context for server-side calls. Required for probabilistic ident
36
36
  #
37
37
  # @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
38
38
  #
39
+ # @param visitor_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
40
+ #
39
41
  # @param request_options [OursprivacyIngest::RequestOptions, Hash{Symbol=>Object}, nil]
40
42
  #
41
43
  # @return [OursprivacyIngest::Models::VisitorUpsertResponse]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "2.1.0"
4
+ VERSION = "2.3.0"
5
5
  end