sfc-utils 1.4.178 → 1.4.179

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.
@@ -216,7 +216,7 @@ function trackEvent(
216
216
 
217
217
  if (window.dataLayer) {
218
218
  // this is NOT an embed, so push to the dataLayer
219
- const urlHash = window.HDN.dataLayer.visit.urlHash;
219
+ const urlHash = window.HDN.dataLayer?.visit?.urlHash;
220
220
 
221
221
  window.dataLayer.push({
222
222
  event: event, //REQUIRED; Fixed value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.178",
3
+ "version": "1.4.179",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",