Skip to content

Commit

Permalink
add gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaire committed Mar 15, 2024
1 parent a3eda96 commit 8d32041
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ GEM
safe_yaml (1.0.5)
sass-embedded (1.68.0-arm64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.68.0-x86_64-linux-gnu)
sass-embedded (1.68.0-x86_64-linux)
google-protobuf (~> 3.23)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand Down
4 changes: 1 addition & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ url: https://docs.whatsauth.com
color_scheme: light

aux_links:
"Go to App": https://app.whatsauth.com/?utm_source=nav-bar-docs

ga_tracking: "G-R2KM91VYC2"
"Go to App": https://app.whatsauth.com/

# Back to top link
back_to_top: true
Expand Down
13 changes: 12 additions & 1 deletion _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
<meta property="og:image" content="{% link assets/images/logo-black.png %}">
<meta property="og:image" content="{% link assets/images/logo-black.png %}">
<!-- Google Tag Manager -->
<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-PK9CT33V');
</script>
<!-- End Google Tag Manager -->
4 changes: 4 additions & 0 deletions _includes/header_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PK9CT33V" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
2 changes: 1 addition & 1 deletion api-and-webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nav_order: 2

## Authentication

The API requests are authenticated using a Bearer token in the Authorization Header. You can get the token from an application in your account ([learn more](https://whatsauth.freshdesk.com/support/solutions/articles/151000092660-how-to-create-your-first-app-in-whatsauth-and-test-it)).
The API requests are authenticated using a Bearer token in the Authorization Header. You can get the token from an application in your account ([learn more]({% link guides/create-app.md %})).



Expand Down

0 comments on commit 8d32041

Please sign in to comment.