Skip to content

Commit 4254fa6

Browse files
authored
Fix Code Error.md (#888)
## Changes Long hyphen was typed when commenting at line 49, when a normal hyphen was expected. Also removed the useless newline. <!-- Please summarize your changes. --> <!-- Please link to any applicable information (forum posts, bug reports, etc.). --> ## Checks By submitting your pull request for review, you agree to the following: - [ ] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [ ] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [ ] To the best of my knowledge, all proposed changes are accurate. there when commenting at line 49, when a normal hyphen was expected. ## Changes <!-- Please summarize your changes. --> <!-- Please link to any applicable information (forum posts, bug reports, etc.). --> ## Checks By submitting your pull request for review, you agree to the following: - [ ] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [ ] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [ ] To the best of my knowledge, all proposed changes are accurate. ---------
1 parent 8ea16c0 commit 4254fa6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

content/en-us/production/analytics/custom-events.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ Events will automatically track both event count and unique user count. For valu
2828
```lua
2929
local AnalyticsService = game:GetService("AnalyticsService")
3030

31-
3231
AnalyticsService:LogCustomEvent(
3332
player,
3433
"MissionStarted" -- Event name
3534
)
36-
3735
```
3836

3937
### Events with Values
@@ -43,11 +41,10 @@ You can also track events with values for metrics that require more quantitative
4341
```lua
4442
local AnalyticsService = game:GetService("AnalyticsService")
4543

46-
4744
AnalyticsService:LogCustomEvent(
4845
player,
4946
"MissionCompletedDuration", -- Event name
50-
120 - Event value
47+
120 -- Event value
5148
)
5249
```
5350

0 commit comments

Comments
 (0)