Skip to content

Beacon.js Integration Convenience #6

@korgon

Description

@korgon

In order to simplify the implementation of the Beacon.js on the front end, it may be nice to provide some convenience function that simplifies the experience. Currently when calling some event tracking methods (like search events) a lot of data is required in the data object - this includes things that are found on the API request and API response. Parsing these out and re-mapping them can be a bit tedious and could lead to mistakes and missing data.

Is there a way that we could make this easier for documenting Beacon.js usage?
One idea was around passing the request and response in addition to the needed result data into a new method - but maybe there is another way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions