Moves google analytics docs in an integration section

- with a link to it in the observability page.
- documents the default behavior and add a link to the GA developer guides

Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
This commit is contained in:
r.bideau
2021-02-21 20:41:44 +01:00
parent 4594f7efc2
commit 24b59505d0
2 changed files with 25 additions and 12 deletions
@@ -0,0 +1,23 @@
---
id: installation
title: Google Analytics Installation
# prettier-ignore
description: Adding Google Analytics to Your App
---
There is a basic Google Analytics integration built into Backstage. You can
enable it by adding the following to your app configuration:
```yaml
app:
googleAnalyticsTrackingId: UA-000000-0
```
Replace the tracking ID with your own.
For more information, learn about Google Analytics
[here](https://marketingplatform.google.com/about/analytics/).
The default behavior is only to send a pageview hit to Google Analytics. To
record more, look at the developer documentation
[here](https://developers.google.com/analytics/devguides/collection/gtagjs).
+2 -12
View File
@@ -10,18 +10,8 @@ Backstage integrator.
## Google Analytics
There is a basic Google Analytics integration built into Backstage. You can
enable it by adding the following to your app configuration:
```yaml
app:
googleAnalyticsTrackingId: UA-000000-0
```
Replace the tracking ID with your own.
For more information, learn about Google Analytics
[here](https://marketingplatform.google.com/about/analytics/).
See how to install Google Analytics in your app
[here](../integrations/google-analytics/installation.md)
## Logging