Skip to content

Commit 36e2be0

Browse files
mjac0bsmjac0bs
authored andcommitted
Temporarily disable PENDO_API_KEY check to test with preview link
1 parent 352e4cd commit 36e2be0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/manager/src/hooks/usePendo.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@ export const usePendo = () => {
8585
// This URL uses a Pendo-configured CNAME (M3-8742).
8686
// const PENDO_URL = `https://content.psp.cloud.linode.com/agent/static/${PENDO_API_KEY}/pendo.js`;
8787

88+
// eslint-disable-next-line no-console
89+
console.log({ ADOBE_ANALYTICS_URL }, { PENDO_API_KEY });
90+
8891
React.useEffect(() => {
89-
if (ADOBE_ANALYTICS_URL && PENDO_API_KEY) {
92+
if (ADOBE_ANALYTICS_URL /*&& PENDO_API_KEY*/) {
9093
// Adapted Pendo install script for readability
9194
// Refer to: https://support.pendo.io/hc/en-us/articles/21362607464987-Components-of-the-install-script#01H6S2EXET8C9FGSHP08XZAE4F
9295

@@ -166,5 +169,5 @@ export const usePendo = () => {
166169
});
167170
});
168171
}
169-
}, [ADOBE_ANALYTICS_URL, accountId, visitorId]);
172+
}, [accountId, visitorId]);
170173
};

0 commit comments

Comments
 (0)