Skip to content

Commit

Permalink
added OIM script to the default layout to run on every page (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonomite authored May 30, 2023
1 parent e1fba24 commit 10c4010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ useHead({
src: config.HTL_JS,
async: true,
},
{
children: `(function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.account=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,250465,267513);`,
},
],
noscript: [
{
Expand Down

0 comments on commit 10c4010

Please sign in to comment.