Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding Salesloft tracking code in footer #1237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@
document.head.prepend(scriptTag);
}

function laodSalessoft(){

Check failure on line 93 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Missing space before opening brace
(function(i,s,o,g,r,a,m){i['SLScoutObject']=r;i[r]=i[r]||function(){

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Move the invocation into the parens that contain the function

Check warning on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Unexpected unnamed function

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Missing space before function parentheses

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

A space is required after ','

Check failure on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Requires a space after '{'

Check warning on line 94 in scripts/delayed.js

View workflow job for this annotation

GitHub Actions / build

Unexpected unnamed function
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://scout-cdn.salesloft.com/sl.js','slscout');
slscout(["init", "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0IjoxMTA4OTF9.VTtiOYLfvqPpOmg9SD5Pl4uz7Zmn-achb0JFgYmfFs0"])
}

if (!isSidekickLibrary) {
sampleRUM('cwv');
loadUserData();
Expand All @@ -99,4 +107,9 @@
if (!window.location.hostname.includes('localhost') && !document.location.hostname.match('.hlx.page') && !document.location.hostname.match('www.moleculardevices.com.cn')) {
LoadDriftWidget();
}
if (!window.location.hostname.includes('localhost') && !document.location.hostname.match('.hlx.page') && !document.location.hostname.match('www.moleculardevices.com.cn')) {
laodSalessoft();
}

}