Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 29723dd

Browse files
author
engineering@taplytics.com
committed
v2.14.0
1 parent e144e0e commit 29723dd

File tree

3 files changed

+1
-36
lines changed

3 files changed

+1
-36
lines changed

DOCS.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Here are the APIs that Taplytics.js exposes:
1212
| [runningExperiments](#runningexperiments) | Taplytics running experiments |
1313
| [variable](#variable) | Taplytics variable |
1414
| [codeBlock](#codeblock) | Taplytics code block |
15-
| [startNewSession](#startNewSession) | Taplytics startNewSession |
1615

1716

1817
If you haven't already, check out our guide on how to get started with our Javascript SDK [here](https://taplytics.com/docs/javascript-sdk).
@@ -64,7 +63,6 @@ Taplytics.init("js-sdk-token", {
6463
log_level: 1
6564
});
6665

67-
6866
```
6967

7068

@@ -119,7 +117,6 @@ Taplytics.identify({
119117
friends_Count: 800
120118
});
121119

122-
123120
```
124121

125122

@@ -174,8 +171,6 @@ Taplytics.track("Purchased", 180.50, {
174171
Taplytics.track("Finished Tutorial", {
175172
time_on_tutorial: 100
176173
});
177-
178-
179174
```
180175

181176

@@ -236,7 +231,6 @@ Taplytics.page("Product Listings", "Shirts", {
236231
products_count: 150
237232
});
238233

239-
240234
```
241235

242236

@@ -262,7 +256,6 @@ Resets the user object and assumes the visitor is now anonymous. This can be use
262256

263257
Taplytics.reset();
264258

265-
266259
```
267260

268261
---
@@ -286,7 +279,6 @@ Taplytics.propertiesLoaded(function() {
286279
// properties have loaded
287280
});
288281

289-
290282
```
291283

292284
---
@@ -314,7 +306,6 @@ Taplytics.runningExperiments(function(expAndVars) {
314306
//};
315307
});
316308

317-
318309
```
319310

320311
---
@@ -376,23 +367,4 @@ Taplytics.codeBlock("JS CodeBlock", function() {
376367
// run your code here
377368
});
378369

379-
380-
```
381-
382-
---
383-
384-
### startNewSession
385-
386-
Usage: `Taplytics.startNewSession()`
387-
388-
Creates a new session for the user and fetches the new config data.
389-
390-
##### Example
391-
392-
```javascript
393-
394-
Taplytics.setUserAttributes({user_id: 'new_user!'})
395-
Taplytics.startNewSession()
396-
397-
398370
```

START.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ To fully utilize the power of Taplytics.js, you simply have to:
77
| 2 | [Identify Users](#2-identify-users) |
88
| 3 | [Track Events](#3-track-events) |
99
| 4 | [Track Page Views](#4-track-page-views) |
10-
| 5 | [Experiments](#5-experiments) |
11-
| 6 | [Opt-In/Out](#6-opt-inout) |
12-
| 7 | [Adobe Analytics Integration](#7-adobe-analytics-integration) |
1310

1411
## 1A Synchronous script loading
1512

@@ -77,10 +74,6 @@ Example:
7774
<script type="text/javascript" src="https://js.taplytics.com/jssdk/{JS_SDK_TOKEN}.min.js?cookie_domain=web.taplytics.com&test_experiments=%7B%22exp%22%3A%22var%22%7D&user_attributes=%7B%22user_id%22%3A%22user1%22%2C%22customValue%22%3A10%7D></script>
7875
```
7976
80-
### Session Length
81-
82-
A session is defined as user activity from the start of a new session until 30 minutes from last activity logged into Taplytics. If a user has not done anything to trigger updating their user information in Taplytics, we consider their next activity afterwards to be a new session.
83-
8477
## 1B Asynchronous script loading
8578
8679
**Note: you only need to load the script once, do not load the synchronous script and the asynchronous script!**

taplytics.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)