1.2.13 • Published 9 months ago

@evolv-integr/a1a273539c v1.2.13

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

evolv-integrations

At the moment this integation does the following:

vzOmni.visitorId

Sets this context variable to the Adobe visitor ID. A call is made to Adobe's alloy("getIdentity") async function and vzOmni.visitorId is set to the following property of the return value of the function: result.identity.ECID

vz.lastVisitBucket

Sets the this context variable based on window.vzdl.utils.lastVisit. Example values for window.vzdl.utils.lastVisit are:
New Visitor
16.75 hours ago
2 days ago
Also added seconds and minutes and dealt with singular or plural on units, just in case. The buckets are:

Time rangeBucket
New VisitorNew visitor
1 sec - 60 minLess than an hour ago
1 hr - 24 hLess than a day ago
24 h - 7 daysLess than a week ago
7 - 30 daysLess than 30 days ago
> 30 daysMore than 30 days ago

vz.dayOfWeek and vz.timeOfDay

Sets these context variables, both based on window.vzdl.utils.visitStart. vz.dayOfWeek is set to the day of week the visit started, for example Wednesday. vz.timeOfDay is set to a 6-hour block of time, braking down the day in the following way, in local time:

Time rangeDate part
Midnight - 6:00 AMEarly Morning
6:00 AM - 12:00 PMMorning to Afternoon
12:00 PM - 6:00 PMAfternoon to Evening
6:00 PM - MidnightEvening to Late Night

vz.accountDeviceOs

Sets this context variable on the UAD and MDN Selection pages

vz.billingState

Sets this context variable on the UAD and MDN Selection pages
vz.billingState is set to the two lettr state abbreviation, for example CA.

vz.isUpgradeEligible

Sets this context variable on the UAD and MDN Selection pages
vz.isUpgradeEligible is a boolean that is set to either true or false, but it looks like false is never set by Verizon, so the values are really true or null.

vz.userAgeBucket

Sets this context variable on the UAD and MDN Selection pages
Example values for are: vz.userAgeBucket is set according to the following table. The vzdl includes an anonymous age bucket that is translated into an actual age bucket.

Anonymous Age BucketActual Age Bucket
AgeLevel1<18 years
AgeLevel218-24 years
AgeLevel325-34 years
AgeLevel435-44 years
AgeLevel545-54 years
AgeLevel655-64 years
AgeLevel7>=65 years
Undefinedunknown

vz.accessRole

Sets this context variable on the UAD and MDN Selection pages
Possible values are: Owner, Manager, Member, Undefined

vz.isByod

Sets this context variable on the UAD and MDN Selection pages
The line is a Bring Your Own Device line. This is true or false

vz.category

Sets this context variable on the UAD and MDN Selection pages
Possible values are: Smartphone, HomeSolutions, Tablet, ConnectedDevice

vz.deviceAge

Sets this context variable on the UAD and MDN Selection pages

AgeBucket
<= 7Less than 1 week
<= 31Less than 1 month
<= 365Less than 1 year
<= 365 * 2Less than 2 years
<= 365 * 3Less than 3 years
> 365 * 3Over 3 years

vz.deviceDescription

Sets this context variable on the UAD and MDN Selection pages
example: "Apple iPhone 12 64GB in (PRODUCT)RED"

vz.deviceOperatingSystem

Sets this context variable on the UAD and MDN Selection pages
Example values are:

Account Device OSComment
Apple iOS
Android
nullfor a flip phone for instance

vzdl Data Structure

vzdl
    park
        evolv
            billingState
            lines
                [1..]
                accessRole
                byodDevice
                category
                devicePurchaseDate
                displayName
                operatingSystem
                upgradeEligible
            userAgeBucket

The integration pulls the line data attributes from the owner accessRole line, if not present it pulls it from the manager accessRole line.

Build and install

nvm use 18
npm run build
npm login npm publish

1.2.0

11 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.2.8

9 months ago

1.2.7

11 months ago

1.2.6

11 months ago

1.2.5

11 months ago

1.2.4

11 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.1.2

11 months ago

1.2.9

9 months ago

1.2.12

9 months ago

1.2.13

9 months ago

1.2.10

9 months ago

1.2.11

9 months ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago