Skip to content

STRATCONN-6465 - [Appcues web] - new destination#3568

Open
joe-ayoub-segment wants to merge 6 commits intomainfrom
appcues
Open

STRATCONN-6465 - [Appcues web] - new destination#3568
joe-ayoub-segment wants to merge 6 commits intomainfrom
appcues

Conversation

@joe-ayoub-segment
Copy link
Contributor

WIP new Appcues web integration

Testing

WIP

Security Review

Please ensure sensitive data is properly protected in your integration.

  • Reviewed all field definitions for sensitive data (API keys, tokens, passwords, client secrets) and confirmed they use type: 'password'

New Destination Checklist

  • Extracted all action API versions to verioning-info.ts file. example

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a new Appcues Web browser-mode destination for the Segment Actions framework. The implementation includes four core actions (track, page, identify, and group) with appropriate field mappings and a custom flatten utility function for handling nested data structures.

Changes:

  • New Appcues Web browser destination with support for track, page, identify, and group events
  • Custom flatten function to handle array-to-string conversions while preserving nested objects
  • Comprehensive test coverage for all actions and initialization logic
  • Region-based script loading (US/EU) with configurable URL detection

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/browser-destinations/destinations/appcues-web/package.json Package configuration for the new Appcues Web destination
packages/browser-destinations/destinations/appcues-web/tsconfig.json TypeScript configuration for the destination
packages/browser-destinations/destinations/appcues-web/README.md Basic README with license and contribution information
packages/browser-destinations/destinations/appcues-web/src/index.ts Main destination definition with settings and initialization logic
packages/browser-destinations/destinations/appcues-web/src/types.ts TypeScript type definitions for Appcues SDK and settings
packages/browser-destinations/destinations/appcues-web/src/constants.ts URL constants for US and EU regions
packages/browser-destinations/destinations/appcues-web/src/functions.ts Utility function to flatten arrays while preserving object structure
packages/browser-destinations/destinations/appcues-web/src/generated-types.ts Generated TypeScript types for destination settings
packages/browser-destinations/destinations/appcues-web/src/track/index.ts Track action implementation
packages/browser-destinations/destinations/appcues-web/src/track/generated-types.ts Generated types for track action payload
packages/browser-destinations/destinations/appcues-web/src/track/tests/index.test.ts Tests for track action including nested property handling
packages/browser-destinations/destinations/appcues-web/src/page/index.ts Page action implementation
packages/browser-destinations/destinations/appcues-web/src/page/generated-types.ts Generated types for page action payload
packages/browser-destinations/destinations/appcues-web/src/page/tests/index.test.ts Tests for page action
packages/browser-destinations/destinations/appcues-web/src/identify/index.ts Identify action implementation with incorrect title
packages/browser-destinations/destinations/appcues-web/src/identify/generated-types.ts Generated types for identify action payload
packages/browser-destinations/destinations/appcues-web/src/identify/tests/index.test.ts Tests for identify action including nested traits
packages/browser-destinations/destinations/appcues-web/src/group/index.ts Group action implementation
packages/browser-destinations/destinations/appcues-web/src/group/generated-types.ts Generated types for group action payload
packages/browser-destinations/destinations/appcues-web/src/group/tests/index.test.ts Tests for group action including nested traits
packages/browser-destinations/destinations/appcues-web/src/tests/initialization.test.ts Tests for destination initialization and settings

joe-ayoub-segment and others added 5 commits February 5, 2026 08:05
…ntify/index.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ex.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…up/index.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ex.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ex.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant