Skip to content

Commit 95de72c

Browse files
authored
fix and try countly removal (#455)
1 parent 55fc1d4 commit 95de72c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+77
-74
lines changed

cypress/fixtures/click_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
var domEl = queryExtractor(window.location.search).dom;
2020
Countly.init({
2121
app_key: "YOUR_APP_KEY",
22-
url: "https://try.count.ly",
22+
url: "https://your.domain.count.ly",
2323
debug: true,
2424
test_mode: true
2525
})

cypress/fixtures/multi_instance.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//initializing first instance, which will be global Countly
2323
Countly.init({
2424
app_key: "YOUR_APP_KEY1",
25-
url: "https://try.count.ly",
25+
url: "https://your.domain.count.ly",
2626
test_mode: true
2727
})
2828
Countly.remove_consent();
@@ -57,7 +57,7 @@
5757
//initialize second instance for another app synchronously
5858
var Countly2 = Countly.init({
5959
app_key: "YOUR_APP_KEY2", //must have different APP key
60-
url: "https://try.count.ly",
60+
url: "https://your.domain.count.ly",
6161
test_mode: true
6262

6363
});
@@ -94,7 +94,7 @@
9494
//initialize third instance for another app asynchronously
9595
Countly.q.push(["init", {
9696
app_key: "YOUR_APP_KEY3", //must have different APP key
97-
url: "https://try.count.ly",
97+
url: "https://your.domain.count.ly",
9898
test_mode: true
9999

100100
}])
@@ -128,7 +128,7 @@
128128
//initialize fourth instance for another app asynchronously
129129
Countly.q.push(["init", {
130130
app_key: "YOUR_APP_KEY4", //must have different APP key
131-
url: "https://try.count.ly",
131+
url: "https://your.domain.count.ly",
132132
test_mode: true
133133

134134
}])

cypress/fixtures/referrer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script type='text/javascript'>
55
Countly.init({
66
app_key: "YOUR_APP_KEY",
7-
url: "https://try.count.ly",
7+
url: "https://your.domain.count.ly",
88
utm: { aa: true },
99
test_mode: true,
1010
test_mode_eq: true,

cypress/fixtures/scroll_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
console.error("cleared the storage");
1717
Countly.init({
1818
app_key: "YOUR_APP_KEY",
19-
url: "https://try.count.ly",
19+
url: "https://your.domain.count.ly",
2020
debug:true,
2121
test_mode: true
2222
})

cypress/fixtures/scroll_test_2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script type='text/javascript'>
55
Countly.init({
66
app_key: "YOUR_APP_KEY",
7-
url: "https://try.count.ly",
7+
url: "https://your.domain.count.ly",
88
debug:true,
99
test_mode: true
1010
})

cypress/fixtures/scroll_test_3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
console.error("cleared the storage");
1717
Countly.init({
1818
app_key: "YOUR_APP_KEY",
19-
url: "https://try.count.ly",
19+
url: "https://your.domain.count.ly",
2020
debug:true,
2121
test_mode: true
2222
})

cypress/fixtures/session_test_auto.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//initializing countly with params
2525
Countly.init({
2626
app_key: "YOUR_APP_KEY",
27-
url: "https://try.count.ly",
27+
url: "https://your.domain.count.ly",
2828
device_id: "auto",
2929
session_update: 5,
3030
test_mode: true,

cypress/fixtures/session_test_manual_1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//initializing countly with params
2525
Countly.init({
2626
app_key: "YOUR_APP_KEY",
27-
url: "https://try.count.ly",
27+
url: "https://your.domain.count.ly",
2828
device_id: "manual_1",
2929
session_update: 5,
3030
test_mode: true,
@@ -47,7 +47,7 @@
4747
Countly.begin_session();
4848
}
4949
function end(){
50-
Countly.end_session();
50+
Countly.end_session(undefined, true);
5151
}
5252
</script>
5353
<button type="button" onclick="clickEvent()">Event</button>

cypress/fixtures/session_test_manual_2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//initializing countly with params
2525
Countly.init({
2626
app_key: "YOUR_APP_KEY",
27-
url: "https://try.count.ly",
27+
url: "https://your.domain.count.ly",
2828
device_id: "manual_2",
2929
session_update: 5,
3030
test_mode: true,
@@ -34,7 +34,7 @@
3434
Countly.begin_session();
3535
// event listener to end session
3636
window.addEventListener("beforeunload", function () {
37-
Countly.end_session();
37+
Countly.end_session(undefined, true);
3838
})
3939
</script>
4040
</head>

cypress/fixtures/user_agent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Countly.init({
77
app_key: "YOUR_APP_KEY",
8-
url: "https://try.count.ly",
8+
url: "https://your.domain.count.ly",
99
debug:true
1010
})
1111
// create a new button element and assign values of user agent functions to them here:

0 commit comments

Comments
 (0)