PageSourceSearch

https://www.clinicaltrialsummit.com/js/TrackClicks.js

js clinicaltrialsummit.com collected 2026-10-04 13:28:32 UTC 1,430 bytes, 45 lines download raw bytes

1(function () {
2    if (window.sfDataIntell) {
3        trackMailClick();
4    } else if (window.addEventListener) {
5        window.addEventListener('decclientready', trackMailClick, false);
6    } else if (window.attachEvent) {
7        window.attachEvent('decclientready', trackMailClick);
8    }
9
10    function trackMailClick() {
11        var object = "Email Campaign";
12        var email = url("?email"); //url("?email");  //Get the email from querystring parameter
13
14        if (!email) {
15            // look for an encodedEmail
16
17            var encodedEmail = url("?ec"); //url("?email");  //Get the email from querystring parameter
18            var encodedClickTitle = url("?l");
19
20            // If encodedEmail has a value decode it
21            if (encodedEmail) {
22                // Decrypt
23                email = atob(encodedEmail);
24                object = atob(encodedClickTitle);
25            }
26        }
27
28
29        if (!email) { //Do not submit anything if the email is missing. 
30            return;
31        }
32
33        if (email.indexOf("@") === -1) {
34            return;
35        }
36
37        var decSubjectId = DataIntelligenceSubmitScript._client.sentenceClient.writeSentence({
38            predicate: 'Click-Thru',
39            object: object, //'Landed on site via Email Campaign',
40            subjectMetadata: {
41                Email: email
42            }
43        });
44    }
45})();

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.