You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/segment/analytics.ex
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ defmodule Segment.Analytics do
27
27
`track` lets you record the actions your users perform. Every action triggers what Segment call an “event”, which can also have associated properties as defined in the
28
28
`Segment.Analytics.Track` struct
29
29
30
-
See (https://segment.com/docs/spec/track/)[https://segment.com/docs/spec/track/]
30
+
See [https://segment.com/docs/spec/track/](https://segment.com/docs/spec/track/)
31
31
"""
32
32
@spectrack(Segment.Analytics.Track.t()):::ok
33
33
deftrack(t=%Track{})do
@@ -38,7 +38,7 @@ defmodule Segment.Analytics do
38
38
`track` lets you record the actions your users perform. Every action triggers what Segment call an “event”, which can also have associated properties. `track/4` takes a `user_id`, an
39
39
`event_name`, optional additional `properties` and an optional `Segment.Analytics.Context` struct.
40
40
41
-
See (https://segment.com/docs/spec/track/)[https://segment.com/docs/spec/track/]
41
+
See [https://segment.com/docs/spec/track/](https://segment.com/docs/spec/track/)
`identify` lets you tie a user to their actions and record traits about them. `identify/3` takes a `user_id`, optional additional `traits` and an optional `Segment.Analytics.Context` struct.
67
67
68
-
See (https://segment.com/docs/spec/identify/)[https://segment.com/docs/spec/identify/]
68
+
See [https://segment.com/docs/spec/identify/](https://segment.com/docs/spec/identify/)
`screen` let you record whenever a user sees a screen of your mobile app with properties defined in the
78
78
`Segment.Analytics.Screen` struct
79
79
80
-
See (https://segment.com/docs/spec/screen/)[https://segment.com/docs/spec/screen/]
80
+
See [https://segment.com/docs/spec/screen/](https://segment.com/docs/spec/screen/)
81
81
"""
82
82
@specscreen(Segment.Analytics.Screen.t()):::ok
83
83
defscreen(s=%Screen{})do
@@ -87,7 +87,7 @@ defmodule Segment.Analytics do
87
87
@doc"""
88
88
`screen` let you record whenever a user sees a screen of your mobile app. `screen/4` takes a `user_id`, an optional `screen_name`, optional `properties` and an optional `Segment.Analytics.Context` struct.
89
89
90
-
See (https://segment.com/docs/spec/screen/)[https://segment.com/docs/spec/screen/]
90
+
See [https://segment.com/docs/spec/screen/](https://segment.com/docs/spec/screen/)
@@ -103,7 +103,7 @@ defmodule Segment.Analytics do
103
103
@doc"""
104
104
`alias` is how you associate one identity with another with properties defined in the `Segment.Analytics.Alias` struct
105
105
106
-
See (https://segment.com/docs/spec/alias/)[https://segment.com/docs/spec/alias/]
106
+
See [https://segment.com/docs/spec/alias/](https://segment.com/docs/spec/alias/)
107
107
"""
108
108
@specalias(Segment.Analytics.Alias.t()):::ok
109
109
defalias(a=%Alias{})do
@@ -113,7 +113,7 @@ defmodule Segment.Analytics do
113
113
@doc"""
114
114
`alias` is how you associate one identity with another. `alias/3` takes a `user_id` and a `previous_id` to map from. It also takes an optional `Segment.Analytics.Context` struct.
115
115
116
-
See (https://segment.com/docs/spec/alias/)[https://segment.com/docs/spec/alias/]
116
+
See [https://segment.com/docs/spec/alias/](https://segment.com/docs/spec/alias/)
@@ -124,7 +124,7 @@ defmodule Segment.Analytics do
124
124
@doc"""
125
125
The `group` call is how you associate an individual user with a group with the properties in the defined in the `Segment.Analytics.Group` struct
126
126
127
-
See (https://segment.com/docs/spec/group/)[https://segment.com/docs/spec/group/]
127
+
See [https://segment.com/docs/spec/group/](https://segment.com/docs/spec/group/)
128
128
"""
129
129
@specgroup(Segment.Analytics.Group.t()):::ok
130
130
defgroup(g=%Group{})do
@@ -135,7 +135,7 @@ defmodule Segment.Analytics do
135
135
The `group` call is how you associate an individual user with a group. `group/4` takes a `user_id` and a `group_id` to associate it with. It also takes optional `traits` of the group and
136
136
an optional `Segment.Analytics.Context` struct.
137
137
138
-
See (https://segment.com/docs/spec/group/)[https://segment.com/docs/spec/group/]
138
+
See [https://segment.com/docs/spec/group/](https://segment.com/docs/spec/group/)
@@ -146,7 +146,7 @@ defmodule Segment.Analytics do
146
146
@doc"""
147
147
The `page` call lets you record whenever a user sees a page of your website with the properties defined in the `Segment.Analytics.Page` struct
148
148
149
-
See (https://segment.com/docs/spec/page/)[https://segment.com/docs/spec/page/]
149
+
See [https://segment.com/docs/spec/page/](https://segment.com/docs/spec/page/)
150
150
"""
151
151
@specpage(Segment.Analytics.Page.t()):::ok
152
152
defpage(p=%Page{})do
@@ -156,7 +156,7 @@ defmodule Segment.Analytics do
156
156
@doc"""
157
157
The `page` call lets you record whenever a user sees a page of your website. `page/4` takes a `user_id` and an optional `page_name`, optional `properties and an optional `Segment.Analytics.Context` struct.
158
158
159
-
See (https://segment.com/docs/spec/page/)[https://segment.com/docs/spec/page/]
159
+
See [https://segment.com/docs/spec/page/](https://segment.com/docs/spec/page/)
0 commit comments