Skip to content

Commit

Permalink
chore: update ga id
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Mar 14, 2023
1 parent 06f063a commit 3fbbe61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions demo/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ <h2 class="custom"><a href="https://daybrush.com/scenejs/release/latest/doc" tar
<script charset="UTF-8" src="./dist/features.js"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128864447-1"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TRBNXHQ0ZF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-128864447-1');
gtag('config', 'G-TRBNXHQ0ZF');
</script>

</html>
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,13 +363,13 @@ <h2>Getting Started</h2>
<script src="https://daybrush.com/shape-svg/release/latest/dist/shape.min.js"></script>
<script src="./dist/index.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128864447-1"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TRBNXHQ0ZF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-128864447-1');
gtag('config', 'G-TRBNXHQ0ZF');
</script>

</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"changelog": "lerna-helper changelog --type all --base scenejs",
"doc": "rm -rf ./doc && jsdoc -c jsdoc.json",
"demo:start": "rollup -c rollup.config.demo.js -w",
"demo:build": "rm -rf ./demo/dist && npm run build --prefix packages/demo",
"demo:build": "rm -rf ./demo/dist && npm run build --prefix packages/demo && npm run doc",
"demo:deploy": "gh-pages -d ./demo --dest=./ --add --remote origin",
"deploy": "lerna-helper deploy --base scenejs",
"release": "lerna-helper release --base scenejs"
Expand Down
4 changes: 2 additions & 2 deletions static/scripts/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-128864447-1');
gtag('config', 'G-TRBNXHQ0ZF');
var script = document.createElement("script");

script.src = "https://www.googletagmanager.com/gtag/js?id=UA-128864447-1";
script.src = "https://www.googletagmanager.com/gtag/js?id=G-TRBNXHQ0ZF";

document.body.appendChild(script);
})();

0 comments on commit 3fbbe61

Please sign in to comment.