Skip to content

Commit

Permalink
remove tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
lennessyy committed Oct 21, 2022
1 parent 76925f2 commit a8ff566
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 42 deletions.
Binary file modified build/ui-bundle.zip
Binary file not shown.
32 changes: 1 addition & 31 deletions src/partials/footer-scripts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,5 @@ MathJax.Hub.Config({
<!-- Before the closing </body> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
{{!-- <script src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script> --}}
{{!-- <script>
docsearch({
// Your apiKey and indexName will be given to you once
// we create your config
apiKey: '294d1dcb70726c453eb9db18c0472709',
indexName: 'tgdocs',
appId: 'CTOKZGN7YQ', // Should be only included if you are running DocSearch on your own.
// Replace inputSelector with a CSS selector
// matching your search input
inputSelector: '#search',
// Set debug to true to inspect the dropdown
debug: false,
algoliaOptions: {
hitsPerPage: 20,
// See https://www.algolia.com/doc/api-reference/api-parameters/
},
});
</script> --}}

<script async id="search-script" src="{{{uiRootPath}}}/js/vendor/docsearch.js" data-app-id="CTOKZGN7YQ" data-api-key="294d1dcb70726c453eb9db18c0472709" data-index-name="tgdocs" data-stylesheet="{{{uiRootPath}}}/css/vendor/docsearch.css"></script>



{{!-- <script type="text/javascript">
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
_st('install','wGW4288Z7D7GjQmQFrP7','2.0.0');
</script> --}}
<script async id="search-script" src="{{{uiRootPath}}}/js/vendor/docsearch.js" data-app-id="CTOKZGN7YQ" data-api-key="294d1dcb70726c453eb9db18c0472709" data-index-name="tgdocs" data-stylesheet="{{{uiRootPath}}}/css/vendor/docsearch.css"></script>
25 changes: 14 additions & 11 deletions src/partials/head-meta.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
{{!-- Add additional meta tags here --}}
{{!-- Add additional meta tags here --}}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
{{!-- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KWSQQPD');</script>
})(window,document,'script','dataLayer','GTM-KWSQQPD');</script> --}}

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

<meta property="og:title" content="{{#with (or page.attributes.ogtitle page.title) }}{{{detag this}}}{{/with}} - {{#with page.component.title}}{{{detag this}}}{{/with}}" />
<meta property="og:image" href="{{{uiRootPath}}}/img/og-image.png" content="https://i.ibb.co/7bkxZJW/og-image.png">
<meta property="og:type" content="article" />
Expand All @@ -15,12 +26,4 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
{{/with}}
<meta property="og:site_name" content="TigerGraph Documentation" />
<meta name="google-site-verification" content="_Ho2_oardPmkSbkjLcKyi5gpOEc_eOR1TxmkjGtM0po" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1LVRWGMQK4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-1LVRWGMQK4');
</script>

0 comments on commit a8ff566

Please sign in to comment.