* feat: added cohesion events tracking * test: fixed failing test cases * refactor: moved cohesion code into a folder * refactor: fire event on successful form submission --------- Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<title>
|
|
<%= (process.env.SITE_NAME && process.env.SITE_NAME !='null' ) ?
|
|
'Authentication | ' + process.env.SITE_NAME : 'Authentication' %>
|
|
</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link
|
|
rel="shortcut icon"
|
|
href="<%=htmlWebpackPlugin.options.FAVICON_URL%>"
|
|
type="image/x-icon"
|
|
/>
|
|
<script
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.4.4/iframeResizer.contentWindow.min.js"
|
|
integrity="sha512-IWwZFBvHzN41wNI6etRLLuLrDDj/6AwJcPt7cmKJAzluYTIHHQ1PF8wh0rSy05jxEvvjflVvH2MxeV6riyEEXg=="
|
|
crossorigin="anonymous"
|
|
referrerpolicy="no-referrer"
|
|
></script>
|
|
<script>
|
|
window.tagular("beam", {
|
|
"@type": "core.Identify.v1",
|
|
traits: {},
|
|
externalIds: [
|
|
{
|
|
id: window.analytics.user().anonymousId(),
|
|
type: "segment_anonym_id",
|
|
collection: "users",
|
|
encoding: "none",
|
|
},
|
|
],
|
|
});
|
|
</script>
|
|
<% if (process.env.OPTIMIZELY_URL) { %>
|
|
<script src="<%= process.env.OPTIMIZELY_URL %>"></script>
|
|
<% } else if (process.env.OPTIMIZELY_PROJECT_ID) { %>
|
|
<script src="<%= process.env.MARKETING_SITE_BASE_URL %>/optimizelyjs/<%= process.env.OPTIMIZELY_PROJECT_ID %>.js"></script>
|
|
<% } %>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|