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

Autocapture ElementInteractions [Amplitude] Screen Name is incorrect #255

Open
MichaelLHerman opened this issue Jan 16, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@MichaelLHerman
Copy link

Expected Behavior

I have a TableView whose cells have a TapGestureRecognizer. When using Autocapture ElementInteractions, I expect that the Screen Name property should be populated with the Title of the screen's view controller.

Current Behavior

I am seeing the class name of my TableViewController as the Screen Name.

I created a minimally reproducible sample (attached), which is showing similar but additional issues. Clicking on buttons both within the nested TableViewController and in the page's View Controller, outside the nested TableViewController logs title of nested TableViewController ("Table View Controller") as the Screen Name and not "Main Page"

Possible Solution

Steps to Reproduce

  1. Open attached project, change api key
  2. Run app, click both buttons
  3. Open Amplitude, view [Amplitude] Element Interacted events
  4. [Amplitude] Screen Name is incorrect

Environment

  • SDK Version: 1.11.2
  • OS Info: Xcode 16.2
Image

storyboardApp.zip

@MichaelLHerman MichaelLHerman added the bug Something isn't working label Jan 16, 2025
@crleona crleona added enhancement New feature or request and removed bug Something isn't working labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants