sfc-utils 1.3.60 → 1.3.62
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.
- package/index.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -36,6 +36,10 @@ let blendHDN = function(meta){
|
|
|
36
36
|
meta = getSettings()
|
|
37
37
|
meta.URL_ADD = url_add
|
|
38
38
|
}
|
|
39
|
+
let sailthru = ""
|
|
40
|
+
if (meta.SAIL_CUST){
|
|
41
|
+
sailthru = meta.SAIL_CUST
|
|
42
|
+
}
|
|
39
43
|
|
|
40
44
|
// Set vars with the new object
|
|
41
45
|
let {
|
|
@@ -141,6 +145,9 @@ let blendHDN = function(meta){
|
|
|
141
145
|
HDN.dataLayer.content.keyNlpOther = []
|
|
142
146
|
HDN.dataLayer.content.keyNlpUnknown = []
|
|
143
147
|
|
|
148
|
+
// Signal to Blueconic that we are ready for gift button
|
|
149
|
+
HDN.dataLayer.content.giftEnabled = meta.GIFT_ENABLED;
|
|
150
|
+
|
|
144
151
|
// HDN.dataLayer object for source information
|
|
145
152
|
HDN.dataLayer.source.authorName = ''
|
|
146
153
|
|
|
@@ -202,6 +209,7 @@ let blendHDN = function(meta){
|
|
|
202
209
|
siteId: '35',
|
|
203
210
|
siteUrl: siteDomain,
|
|
204
211
|
timeZone: 'Pacific',
|
|
212
|
+
sailthruId: sailthru
|
|
205
213
|
}
|
|
206
214
|
|
|
207
215
|
// Create author for analytics here
|