Skip to content

Allow ampli status to detect usage in strings #522

Open
@AshotN

Description

@AshotN

Summary

I am using Next JS with @amplitude/analytics-browser and there are some cases where I want to log an event from the server. To accomplish this I have a component that calls an event on the client

<CSRAmplitudeEvent eventName={"viewedFeed"} eventProperties={{}} />

This works fine, but my only issue is that when running ampli status the usage is not detected.

Motivations

ampli status allows me to make sure I have implemented all the required events, without tracking string usages the data is incomplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions