Skip to content

Commit 05edbb0

Browse files
committed
fix: add conversion type to Rokt placement denylist
1 parent 4df8048 commit 05edbb0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/Rokt-Kit.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ const SELECT_PLACEMENTS_ATTRIBUTE_PERSISTENCE_DENY_LIST = [
249249
'cartitems',
250250
'ccbin',
251251
'confirmationref',
252+
'conversiontype',
252253
'country',
253254
'couponcode',
254255
'currency',

test/src/tests.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ describe('Rokt Forwarder', () => {
11091109
null,
11101110
{
11111111
confirmationRef: 'previous-order',
1112+
conversionType: 'purchase',
11121113
PaymentServiceProviderAttribute: 'cached-provider',
11131114
totalPrice: '10.00',
11141115
couponCode: 'SAVE10',
@@ -1156,6 +1157,7 @@ describe('Rokt Forwarder', () => {
11561157
identifier: 'test-placement',
11571158
attributes: {
11581159
confirmationRef: 'current-order',
1160+
conversionType: 'purchase',
11591161
paymentServiceProviderAttribute: 'current-provider',
11601162
totalPrice: '10.00',
11611163
couponCode: 'SAVE10',
@@ -1170,6 +1172,7 @@ describe('Rokt Forwarder', () => {
11701172
attributes: {
11711173
loyaltyTier: 'gold',
11721174
confirmationRef: 'current-order',
1175+
conversionType: 'purchase',
11731176
paymentServiceProviderAttribute: 'current-provider',
11741177
totalPrice: '10.00',
11751178
couponCode: 'SAVE10',
@@ -3112,6 +3115,7 @@ describe('Rokt Forwarder', () => {
31123115
getAllUserAttributes: function () {
31133116
return {
31143117
confirmationRef: 'previous-order',
3118+
conversionType: 'purchase',
31153119
currency: 'USD',
31163120
paymentServiceProvider: 'test-provider',
31173121
'test-attribute': 'test-value',

0 commit comments

Comments
 (0)