Skip to content

Commit bf9e50d

Browse files
committed
Add languages in codefence
1 parent 5510371 commit bf9e50d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/connections/destinations/catalog/freshsales/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can use `identify` to create a lead or a contact when a website visitor fill
1919
### User ID
2020
`userId` is a mandatory field which is used to identify the lead or contact in Freshsales. If your user identifier is not email, then email has to be a part of traits.
2121

22-
<pre>
22+
```json
2323
{
2424
"userId": "97980cfea0067",
2525
"traits": {
@@ -32,11 +32,11 @@ You can use `identify` to create a lead or a contact when a website visitor fill
3232
}
3333
}
3434
}
35-
</pre>
35+
```
3636

3737
By default, every `identity` is created as a lead. If you'd like an identity to be a contact, you'd need to pass `fs_contact` as `true` as a part of traits.
3838

39-
<pre>
39+
```json
4040
{
4141
"userId" : "97980cfea0067",
4242
"traits" : {
@@ -50,7 +50,7 @@ By default, every `identity` is created as a lead. If you'd like an identity to
5050
}
5151
}
5252
}
53-
</pre>
53+
```
5454

5555
### Traits
5656
`traits` are pieces of information you know about a user that are included in an `identify` method.
@@ -72,7 +72,7 @@ As part of traits, you can send custom fields created in Freshsales by using the
7272
### Objects:
7373
Accounts and Deals associated to a contact or lead can also be updated in Freshsales. The objects company and deal in the identity correspond to the Accounts and Deals in Freshsales. You can pass the `traits` of the company or the deal along with the respective objects in the identity.
7474

75-
```
75+
```json
7676
{
7777
"userId" : "97980cfea0067",
7878
"traits" : {
@@ -98,7 +98,7 @@ You can track activities of your website visitors. If a user is subscribing to a
9898
### Track request payload
9999

100100

101-
```
101+
```json
102102
{
103103
"userId" : "john.doe@example.com",
104104
"event": "Email Bounced",
@@ -120,7 +120,7 @@ When you call a `page` event, we send a pageview to Freshsales. You can send ext
120120

121121
### Sample Page request payload
122122

123-
```
123+
```json
124124
{
125125
"userId" : "john.doe@example.com",
126126
"name": "Page view",

src/connections/destinations/catalog/fullstory/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ analytics.identify("userId");
3939

4040
In addition, Segment will send over along any traits included in the `identify` call. The example call below would send over both `plan` and `logins`.
4141

42-
```
42+
```js
4343
analytics.identify("userId123", {
4444
plan: "premium",
4545
logins: 5
@@ -50,7 +50,7 @@ analytics.identify("userId123", {
5050

5151
Both `email` and `displayName` are special traits that will be passed to FullStory to be used in their interface as explained in [FullStory's docs](https://help.fullstory.com/hc/en-us/articles/360020828113){:target="_blank"}. These traits are optional.
5252

53-
```
53+
```js
5454
analytics.identify("userId123", {
5555
email: "john.doe@example.com",
5656
displayName: "John Doe"
@@ -63,7 +63,7 @@ If you're not familiar with the Segment Specs, take a look to understand what th
6363

6464
An example call would look like:
6565

66-
```
66+
```js
6767
analytics.track('Product Purchased', {
6868
order_ID: '2969302398',
6969
category: 'boots',

0 commit comments

Comments
 (0)