forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add basic ga tag w/ settable campaignid (Azure#15157)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
- Loading branch information
1 parent
57c737a
commit 0371001
Showing
2 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
eng/common/docgeneration/templates/matthews/partials/head.tmpl.partial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
<title>{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}</title> | ||
<meta name="viewport" content="width=device-width"> | ||
<meta name="title" content="{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}"> | ||
<meta name="generator" content="docfx {{_docfxVersion}}"> | ||
{{#_description}}<meta name="description" content="{{_description}}">{{/_description}} | ||
<link rel="shortcut icon" href="{{_rel}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}"> | ||
<link rel="stylesheet" href="{{_rel}}styles/docfx.vendor.css"> | ||
<link rel="stylesheet" href="{{_rel}}styles/docfx.css"> | ||
<link rel="stylesheet" href="{{_rel}}styles/main.css"> | ||
<meta property="docfx:navrel" content="{{_navRel}}"> | ||
<meta property="docfx:tocrel" content="{{_tocRel}}"> | ||
{{#_noindex}}<meta name="searchOption" content="noindex">{{/_noindex}} | ||
{{#_enableSearch}}<meta property="docfx:rel" content="{{_rel}}">{{/_enableSearch}} | ||
{{#_enableNewTab}}<meta property="docfx:newtab" content="true">{{/_enableNewTab}} | ||
|
||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_CAMPAIGN_ID"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'GA_CAMPAIGN_ID'); | ||
</script> | ||
</head> |