Skip to content

Conversation

@kalunkuo
Copy link
Contributor

Purpose

Add analytics to track when users check or uncheck the autocomplete checkbox

Declarations

Check these if you believe they are true

Release Notes

Add analytics to IsMLAutocompleteTOUApproved
Update NuGet package reference of DynamoVisualProgramming.Analytics

Reviewers

@DynamoDS/synapse @DynamoDS/eidos

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

@kalunkuo kalunkuo requested review from a team and Copilot October 22, 2025 14:34
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9718

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds analytics tracking to monitor user interactions with the autocomplete Terms of Use checkbox. When users check or uncheck the ML autocomplete agreement checkbox, an analytics event is now recorded.

Key Changes:

  • Added analytics tracking call when IsMLAutocompleteTOUApproved property changes
  • Updated DynamoVisualProgramming.Analytics package from version 4.2.2.10200 to 4.2.2.10255

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/DynamoCore/Configuration/PreferenceSettings.cs Added analytics tracking call to record ML Terms of Use acceptance/rejection
src/DynamoCore/DynamoCore.csproj Updated Analytics package version to support new tracking functionality
test/DynamoCoreTests/DynamoCoreTests.csproj Updated Analytics package version in test project to match main project

Copy link
Member

@johnpierson johnpierson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the analytics part lgtm, but lets remove the csproj changes.

@johnpierson johnpierson added this to the 4.0 milestone Oct 22, 2025
@kalunkuo kalunkuo merged commit 3520a5f into DynamoDS:master Oct 22, 2025
10 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 22, 2025
@github-actions
Copy link

Successfully created backport PR for RC4.0.0_master:

isMLAutocompleteTOUApproved = value;
RaisePropertyChanged(nameof(IsMLAutocompleteTOUApproved));

Analytics.TrackPreference("MLTermsOfUse", "", value ? 1 : 0);
Copy link
Contributor

@QilongTang QilongTang Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would mean that every time user adjusts the setting, this got reported.
This would not be equivalent to how many users actively enabling such TOU over the time. I think the latter is what we want to figure out, so I would suggest changes to this approach

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

Successfully merging this pull request may close these issues.

3 participants