Skip to content

ReactGA.event sending to analytics with category first letter uppercase #54

@almasshaikh08

Description

@almasshaikh08

I start sending events to google analytics using this package, but start seeing the category with the first letter in uppercase.

Is there something related to the package? Because before using it, I effectively send events to google analytics without the first letter in uppercase. This issue was fixed in react-ga by making titleCase option to false. Can you please provide titleCase option.

My code:

ReactGA.event({ category: 'mycategory', action: 'click', label: 'mylabel' });

And in google analytics it appear like:

Mycategory and with action Click.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions