Skip to content

feat: add adobe analytics#5575

Open
fabianrbz wants to merge 1 commit into
mainfrom
feat/add-adobe
Open

feat: add adobe analytics#5575
fabianrbz wants to merge 1 commit into
mainfrom
feat/add-adobe

Conversation

@fabianrbz

Copy link
Copy Markdown
Contributor

Description

Fixes #issue

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Copilot AI review requested due to automatic review settings June 15, 2026 10:10
@fabianrbz fabianrbz requested a review from a team as a code owner June 15, 2026 10:10
@netlify

netlify Bot commented Jun 15, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 24890c5
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a2fcfb85743080008905bf4
😎 Deploy Preview https://deploy-preview-5575--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an environment-variable gated Adobe Analytics script injection into the site layout, controlled by a new ENABLE_ADOBE config flag generated at build time.

Changes:

  • Exposes ENABLE_ADOBE from the build environment into site.config.
  • Conditionally injects Adobe Launch scripts in default.html for production vs preview environments.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
app/_plugins/generators/environment_variables.rb Adds ENABLE_ADOBE to site config from an environment variable.
app/_layouts/default.html Loads the Adobe Launch script only when site.ENABLE_ADOBE is enabled and the Jekyll environment is production or preview.

Comment on lines 8 to 11
site.config['git_branch'] = ENV['HEAD'] || 'main'
site.config['ENABLE_KAPA_AI'] = ENV['ENABLE_KAPA_AI']
site.config['ENABLE_ADOBE'] = ENV['ENABLE_ADOBE']
site.config['ENABLE_ALGOLIA'] = enable_algolia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants