PageSourceSearch

https://www.syfe.com/zendeskNext.js

js syfe.com collected 2026-09-24 09:41:18 UTC 1,078 bytes, 55 lines download raw bytes

1function sendDataToHotjar({ userId = null, investmentStartDate, tier }) {
2  try {
3    if (window.location.host == 'www.syfe.com') {
4      window.hj('identify', userId, {
5        'AML date': investmentStartDate,
6        Tier: tier,
7        'USER ID': userId
8      });
9    }
10  } catch (e) {
11    console.log(e);
12  }
13}
14
15function preFillZendeskForm({ name, email, phone }) {
16  //https://developer.zendesk.com/embeddables/docs/widget/core#identify
17  try {
18    zE('webWidget', 'prefill', {
19      name: {
20        value: name,
21        readOnly: false
22      },
23      email: {
24        value: email,
25        readOnly: false
26      }
27    });
28    zE('webWidget', 'identify', {
29      name,
30      email
31    });
32  } catch (e) {
33    console.log(e);
34  }
35}
36// To preserve end-user experience
37function resetZendesk() {
38  try {
39    zE('webWidget', 'clear');
40  } catch (e) {
41    console.log(e);
42  }
43}
44
45function logoutZendesk(geography) {
46  try {
47    if (geography === 'SG') {
48      zE('messenger', 'close');
49    } else {
50      zE('webWidget', 'logout');
51    }
52  } catch (e) {
53    console.log(e);
54  }
55}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.