Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgarc <jgarcia@gitlab.com>2021-11-10 23:56:15 +0300
committerjgarc <jgarcia@gitlab.com>2021-11-15 21:25:22 +0300
commit4b4d321cea63276d47902b06bf06107b5767ac43 (patch)
treefacb4f07d083982d2822b0630a3328f4fd589d85
parent3d05e4d9df2abd8db7a8a6e44bbfdac88d0f66f3 (diff)
Add query string to badges linking to pricing page
-rw-r--r--content/assets/javascripts/badges.js4
-rw-r--r--doc/development.md11
2 files changed, 13 insertions, 2 deletions
diff --git a/content/assets/javascripts/badges.js b/content/assets/javascripts/badges.js
index d6544c0f..fba7fe17 100644
--- a/content/assets/javascripts/badges.js
+++ b/content/assets/javascripts/badges.js
@@ -1,5 +1,5 @@
---
-version: 6
+version: 7
---
(function() {
@@ -123,7 +123,7 @@ version: 6
'data-placement': 'top',
'target': '_blank',
title: title,
- href: 'https://about.gitlab.com/pricing/'
+ href: 'https://about.gitlab.com/pricing/?glm_source=docs.gitlab.com&glm_content=badges-docs'
});
container.append($('<span>').append(badges));
diff --git a/doc/development.md b/doc/development.md
index 28327c85..066e9192 100644
--- a/doc/development.md
+++ b/doc/development.md
@@ -91,3 +91,14 @@ The links pointing to the files should be similar to:
Nanoc then builds and renders those links correctly according with what's
defined in [`Rules`](https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/Rules).
+
+## Adding query strings to CTAs headed to about.gitlab.com/pricing
+We've created [a Sisense dashboard that can only be seen by full-time team members](https://app.periscopedata.com/app/gitlab/950797/GitLab.com-SaaS-trials---no-SAFE-data) to track the number of SaaS free trials that start from docs.
+
+If you would like to track that information, add the following parameters to the URL:
+1. `glm_source` is `docs.gitlab.com`
+1. `glm_content` set to anything that ends with `-docs`
+
+### Example:
+
+`https://about.gitlab.com/pricing?=glm_source=docs.gitlab.com&glm_content=name-of-item-docs`