Skip to content

Commit 427e830

Browse files
authored
Merge pull request #33 from DealerDotCom/new-pixallId-method
add new method for pixallId and remove estimatedDeliveryDate
2 parents 65695b0 + dac2db1 commit 427e830

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## Added
11+
12+
- Added documentation for `getPixallVisitorId()`
13+
14+
### Updated
15+
16+
- Updated `estimateDeliveryDate` to `deliveryDateRange`
17+
1018
## [v2023-11-15T00.44.26] - 2023-11-15
1119

1220
### Updated

source/includes/_events.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Field Key | Example Value | Field Format
109109
driveLine: 'Front-wheel Drive',
110110
engine: 'I-4 cyl',
111111
engineSize: '1.5L',
112-
estimatedDeliveryDate: '10/30/2028',
112+
deliveryDateRange: '10/30/2028 - 11/15/2028',
113113
exteriorColor: 'Crystal Black Pearl',
114114
finalPrice: 32000,
115115
fuelType: 'Regular Unleaded',
@@ -185,7 +185,7 @@ Field Key | Example Value | Field Format | Status
185185
`driveLine` | `FWD` | `String`
186186
`engine` | `I-4 cyl` | `String`
187187
`engineSize` | `1.5L` | `String`
188-
`estimatedDeliveryDate` | `10/30/2028` | `String`
188+
`deliveryDateRange` | `10/30/2028 - 11/15/2028` | `String`
189189
`exteriorColor` | `Platinum White Pearl` | `String`
190190
`finalPrice` | `32000` | `Integer`
191191
`fuelType` | `Regular Unleaded` | `String`

source/includes/_methods.md

+13
Original file line numberDiff line numberDiff line change
@@ -575,3 +575,16 @@ The loadJS method is a simple way to include additional JavaScript files require
575575
```
576576

577577
> Note that the `attributeMap` parameter is optional and may be ommitted in most cases.
578+
579+
## API.getPixallVisitorId()
580+
581+
The getPixallVisitorId method returns the Pixall Id for the current website visitor. Pixall provides a unique identifier for each visitor to aggregate analytics events initiated by that shopper across marketplaces.
582+
583+
> Usage
584+
585+
```javascript
586+
(async APILoader => {
587+
const API = await APILoader.create();
588+
const pxa_id = await API.getPixallVisitorId();
589+
})(window.DDC.APILoader);
590+
```

0 commit comments

Comments
 (0)