sfc-utils 1.4.150 → 1.4.152

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.
@@ -22,6 +22,17 @@ function appendLayoutScripts(isEmbedded, isAdRemoved, marketKey, category) {
22
22
  // React Helmet is actually terrible and runs these scripts twice, so we are including them async ourselves
23
23
  // Run analytics and resizing scripts right away so we take care of that
24
24
  if (!isEmbedded) {
25
+ // Google Tag Manager
26
+ (function (w, d, s, l, i) {
27
+ w[l] = w[l] || [];
28
+ w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
29
+ var f = d.getElementsByTagName(s)[0],
30
+ j = d.createElement(s),
31
+ dl = l != "dataLayer" ? "&l=" + l : "";
32
+ j.async = true;
33
+ j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
34
+ f.parentNode.insertBefore(j, f);
35
+ })(window, document, "script", "dataLayer", "GTM-P38VLD8M");
25
36
  // Add new md5 script
26
37
  let script = document.createElement("script");
27
38
  script.type = "text/javascript";
package/nav2.js CHANGED
@@ -149,7 +149,7 @@ let getNav2 = function (meta, urlAdd, forceColor, navLink, navArray) {
149
149
  rightBlock =
150
150
  `
151
151
  <a id="nav2-sub-box" class="hnp-signin" style="margin: 0; font-weight: 700;" href="/realm">
152
- <span>Sign in</span>
152
+ <span>Sign&nbsp;in</span>
153
153
  </a>
154
154
  <span style="font-size: 14px; padding: 2px 0 2px;">or</span>` + rightBlock;
155
155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.150",
3
+ "version": "1.4.152",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",