Skip to content

Commit

Permalink
feat: add adobe analytics tracking id to redocly api block
Browse files Browse the repository at this point in the history
  • Loading branch information
melissag-ensemble committed Sep 13, 2024
1 parent e903adb commit 7732d82
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Using a theme, all of your default configuration lives in an npm package.
- [Local development limitation and workaround](#local-development-limitation-and-workaround)
- [Full width page](#full-width-page)
- [Displaying long API response descriptions](#displaying-long-api-response-descriptions)
- [Analytics and Redocly API Block](#analytics-and-redocly-api-block)
- [width (optional)](#width-optional)
- [typography (optional)](#typography-optional)
- [codeblock (optional)](#codeblock-optional)
Expand Down Expand Up @@ -1128,6 +1129,16 @@ For long descriptions, Redocly suggests to use the [x-summary](https://redocly.c
![redocly-api-block-long-description-with-x-summary](docs/images/redocly-api-block-long-description-with-x-summary.png)
![redocly-api-block-long-description-with-x-summary-yaml](docs/images/redocly-api-block-long-description-with-x-summary-yaml.png)
#### Analytics and Redocly API Block
To track clicks on the Try It button, look for:
* Link Name: Redocly-Container
* Activity Map Link: d1d1d1d1d3d1d1d3d3d1d2d1d1B1-Try it
To track clicks on the Send button, look for:
* Link Name: Redocly-Container
* Activity Map Link: d1d1d1d1d3d1d1d3d3d1d2d1d4B1-Send
#### width (optional)
```js
Expand Down
5 changes: 5 additions & 0 deletions packages/gatsby-theme-aio/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [4.14.11](https://github.com/adobe/aio-theme/compare/@adobe/[email protected]..@adobe/[email protected]) (2024-09-13)

### Features
* Add Adobe Analytics tracking ID to RedoclyAPIBlock [343069f](https://github.com/adobe/aio-theme/commit/343069ff624595e9aea6152987eea28aad5c1ded)

## [4.14.10](https://github.com/adobe/aio-theme/compare/@adobe/[email protected]..@adobe/[email protected]) (2024-08-14)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-theme-aio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/gatsby-theme-aio",
"version": "4.14.10",
"version": "4.14.11",
"description": "The Adobe I/O theme for building markdown powered sites",
"main": "index.js",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const RedoclyAPIBlock = ({
<>
{!isRedoclyLoading && (
<>
<div id="redocly_container" />
<div id="redocly_container" daa-ll="Redocly-Container" />

<script>{
`RedoclyReferenceDocs.init(
Expand Down

0 comments on commit 7732d82

Please sign in to comment.