sfc-utils 1.4.162 → 1.4.164
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/brands3.js
CHANGED
|
@@ -45,9 +45,9 @@ let getBrands3 = function (market) {
|
|
|
45
45
|
siteName: "The San Francisco Chronicle",
|
|
46
46
|
twitter: "sfchronicle",
|
|
47
47
|
gaAccount: "UA-1616916-26",
|
|
48
|
-
|
|
49
|
-
subscribeLink:
|
|
50
|
-
|
|
48
|
+
subscribeLink: "https://www.sfchronicle.com/subproject",
|
|
49
|
+
// subscribeLink:
|
|
50
|
+
// "https://subscription.sfchronicle.com/checkout/684/1444?origin=button&ipid=project&variant=devhub",
|
|
51
51
|
sailCustomer: "fca2a0390286f0e53120a668534d9529",
|
|
52
52
|
sailSiteName: "san-francisco-chronicle",
|
|
53
53
|
siteId: 35,
|
|
@@ -21,7 +21,8 @@ function appendLayoutScripts(
|
|
|
21
21
|
isAdRemoved,
|
|
22
22
|
marketKey,
|
|
23
23
|
category,
|
|
24
|
-
enableBC
|
|
24
|
+
enableBC,
|
|
25
|
+
slug
|
|
25
26
|
) {
|
|
26
27
|
const isApp = appCheck();
|
|
27
28
|
|
|
@@ -95,6 +96,10 @@ function appendLayoutScripts(
|
|
|
95
96
|
if (!category) {
|
|
96
97
|
category = "news";
|
|
97
98
|
}
|
|
99
|
+
// Set targeting slug if we have one
|
|
100
|
+
if (slug) {
|
|
101
|
+
window.hnpbid.setTargeting("page", slug);
|
|
102
|
+
}
|
|
98
103
|
const categoryArray = category.split(",");
|
|
99
104
|
let i = 1;
|
|
100
105
|
categoryArray.forEach((cat) => {
|