Skip to content

Commit 804c7ed

Browse files
author
sachin-maheshwari
authored
Merge pull request #96 from topcoder-platform/dev
wipro adfs and segment.io changes
2 parents 2572485 + b6e1a93 commit 804c7ed

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

web-assets/js/setupAuth0WithRedirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const authSetup = function () {
4141
const appUrl = qs['appUrl'] || false;
4242
const loggerMode = "prod";
4343
const IframeLogoutRequestType = "LOGOUT_REQUEST";
44-
const enterpriseCustomers = ['wipro', 'topgear', 'zurich', 'cs'];
44+
const enterpriseCustomers = ['zurich', 'cs'];
4545
let returnAppUrl = qs['retUrl'];
4646

4747
if (utmSource &&

web-assets/static-pages/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,9 @@ <h1 id="page-title-heading" class="page-title-heading">loading...</h1>
5454
<script>
5555
window.onload = authSetup;
5656
</script>
57+
<script type="text/javascript">
58+
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="4.0.0";
59+
}}();
60+
</script>
5761
</body>
5862
</html>

0 commit comments

Comments
 (0)