Skip to content

Commit 81c713b

Browse files
author
Inbal Tako
committed
Update readme
1 parent 5abafc8 commit 81c713b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ public void track(HttpServletRequest request, HttpServletResponse response) {
170170
EventOptions eventOptions = null;
171171
try {
172172
eventOptions = EventOptionsBuilder.builder(EventTypes.LOG_IN)
173-
.userId("USER_ID")
174-
.userTraits("USER_NAME", "USER_EMAIL", "+01234566789")
173+
.userId("1234")
174+
.userTraits("Your Name", "name@gmail.com", "+1234567890")
175175
.context(context)
176176
.properties(Maps.builder()
177177
.put("prop1", "CUSTOM_PARAM_VALUE")
@@ -204,8 +204,8 @@ public void verify(HttpServletRequest request, HttpServletResponse response) {
204204
EventOptions eventOptions = null;
205205
try {
206206
eventOptions = EventOptionsBuilder.builder(EventTypes.LOG_IN)
207-
.userId("USER_ID")
208-
.userTraits("USER_NAME", "USER_EMAIL", "+01234566789")
207+
.userId("1234")
208+
.userTraits("Your Name", "name@gmail.com", "+1234567890")
209209
.context(context)
210210
.properties(Maps.builder()
211211
.put("prop1", "CUSTOM_PARAM_VALUE")

0 commit comments

Comments
 (0)