Skip to content

Commit

Permalink
chore(ibm-common): add ibm-common.js to web components storybook (#17769
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jeffchew authored Oct 16, 2024
1 parent cb0764c commit cf80652
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/web-components/.storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@
type="module"
src="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/latest/footer.min.js"></script>

<!-- Tealium/GA Set up -->
<script type="text/javascript">
window._ibmAnalytics = {
settings: {
name: 'CarbonWebComponentsStorybook',
isSpa: true,
tealiumProfileName: 'ibm-web-app',
},
onLoad: [['ibmStats.pageview', []]],
};
digitalData = {
page: {
pageInfo: {
ibm: {
siteId: 'IBM_' + _ibmAnalytics.settings.name,
},
},
category: {
primaryCategory: 'PC100',
},
},
};
</script>
<script
src="//1.www.s81c.com/common/stats/ibm-common.js"
type="text/javascript"
async="async"></script>

<style type="text/css">
footer {
position: absolute;
Expand Down

0 comments on commit cf80652

Please sign in to comment.