diff --git a/README.md b/README.md index 9622c68613..56ad844871 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/packages/gatsby-theme-aio/CHANGELOG.md b/packages/gatsby-theme-aio/CHANGELOG.md index af96cd0ec6..e3535f207b 100644 --- a/packages/gatsby-theme-aio/CHANGELOG.md +++ b/packages/gatsby-theme-aio/CHANGELOG.md @@ -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/gatsby-theme-aio@4.14.10..@adobe/gatsby-theme-aio@4.14.11) (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/gatsby-theme-aio@4.14.9..@adobe/gatsby-theme-aio@4.14.10) (2024-08-14) ### Features diff --git a/packages/gatsby-theme-aio/package.json b/packages/gatsby-theme-aio/package.json index 1ddf159788..fc80f1b583 100644 --- a/packages/gatsby-theme-aio/package.json +++ b/packages/gatsby-theme-aio/package.json @@ -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", diff --git a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js index c5d1614ef7..4d798c3c45 100644 --- a/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js +++ b/packages/gatsby-theme-aio/src/components/RedoclyAPIBlock/index.js @@ -61,7 +61,7 @@ const RedoclyAPIBlock = ({ <> {!isRedoclyLoading && ( <> -
+