mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
chore(ibm-common): add mandatory IBM instrumentation tags
This commit is contained in:
parent
ba27830b2f
commit
a5a2c62e1e
3 changed files with 40 additions and 0 deletions
|
@ -15,6 +15,37 @@
|
|||
}
|
||||
} catch (e) {}
|
||||
</script>
|
||||
|
||||
<!-- Tealium/GA Set up -->
|
||||
<script type="text/javascript">
|
||||
window._ibmAnalytics = {
|
||||
settings: {
|
||||
name: 'CarbonSvelte',
|
||||
isSpa: true,
|
||||
tealiumProfileName: 'ibm-web-app',
|
||||
},
|
||||
onLoad: [['ibmStats.pageview', []]],
|
||||
};
|
||||
digitalData = {
|
||||
page: {
|
||||
pageInfo: {
|
||||
ibm: {
|
||||
siteId: 'IBM_' + _ibmAnalytics.settings.name,
|
||||
},
|
||||
},
|
||||
category: {
|
||||
primaryCategory: 'PC100',
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<script
|
||||
type="module"
|
||||
src="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/footer.min.js"></script>
|
||||
<script
|
||||
src="//1.www.s81c.com/common/stats/ibm-common.js"
|
||||
type="text/javascript"
|
||||
async="async"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="/src/index.js"></script>
|
||||
|
|
|
@ -35,6 +35,11 @@ html[theme="g90"] .code-override {
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
/* Override to accommodate mandatory footer */
|
||||
.bx--header~.bx--side-nav {
|
||||
height: calc(100% - 120px);
|
||||
}
|
||||
|
||||
/* Addig this to the layout grid fixes overstretching. */
|
||||
.fix-overflow {
|
||||
min-width: 0;
|
||||
|
|
|
@ -312,6 +312,10 @@
|
|||
</Grid>
|
||||
</Content>
|
||||
|
||||
<footer>
|
||||
<dds-footer-container disable-locale-button="true" size="micro" />
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
p {
|
||||
margin-bottom: var(--cds-spacing-05);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue