Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: track event using event name instead of token #257

Open
jacattrongnlh opened this issue Oct 13, 2022 · 0 comments
Open

Comments

@jacattrongnlh
Copy link

Feature Request

Please add an alternate method to Adjust.trackEvent(AdjustEvent adjustEvent) that allow passing in an event name instead of a token: Adjust.trackEventName(string eventName).

Example: instead of

AdjustEvent adjustEvent = new AdjustEvent("xc1a4c");
Adjust.trackEvent(adjustEvent);

You can use a method that uses event name directly

Adjust.trackEventName("Game_SettingButton_Tap");
int stageID; //stageID is set dynamically during runtime
Adjust.trackEventName($"Game_Complete_{stageID}");

Context

Currently, Adjust require using token to log event instead of using a plain text event name.

Adjust uses unique IDs, called event tokens, to track your events.

I don't see any advantage of doing it this way. It slows down integration and makes it impossible to log event with dynamic names.

Let's say product owner wants to log 30 custom events. Working with Adjust, the workflow will be:

  • Product Owner creates list of events in Google Sheet.
  • Product Owner asks person who manages Adjust to create the events in Adjust.
  • Adjust Manager creates event tokens and write down token for each events.
  • Adjust Manager send the list of tokens with the correspond event name to Developer.
  • Developers match the event token to the event name so they know which token go to which event.

This complicates the process and it's really hard to update. We have to do it everytime PO wants to log a new event.

Meanwhile, other event tracker like Firebase allow directly logging event using event name, no token. This has advantage of allowing dynamic event name, faster integration. The workflow is:

  • Product Owner creates list of events in Google Sheet.
  • Product Owner send the sheet to developers.
  • Developers log event directly using names in the sheet.

Dynamic event name: I want to log event with dynamic name like: Ad_{placementName}_LoadFailed. In the source code, there are many places that call function load ad, if I can log event with dynamic names, I can simply call the log event function and pass in a string that dynamically change based on where it was called. This is impossible to do with Adjust's event token workflow.

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

No branches or pull requests

1 participant