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

fix: modify optimizely tracking calls #58

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Conversation

alangsto
Copy link
Member

Optimizely always expects the userId to be passed as a string. Because the user ID is currently being passed as an integer, calls to the track function are failing on stage right now.

@@ -1,16 +1,8 @@
import { getOptimizely } from '../data/optimizely';

const trackChatBotLaunchOptimizely = (userId, userAttributes = {}) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Removing this function because it's not being used anywhere.

Copy link
Member

@MichaelRoytman MichaelRoytman left a comment

Choose a reason for hiding this comment

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

:shipit:

@alangsto alangsto merged commit 0ff4d4f into main Jul 22, 2024
5 checks passed
@alangsto alangsto deleted the alangsto/fix_tracking branch July 22, 2024 20:18
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.

2 participants