-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setting up correctly for device_info and visit_info
- Loading branch information
Showing
8 changed files
with
113 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<tr> | ||
<td class="border px-4 py-2">Device Type</td> | ||
<td class="border px-4 py-2">{{device}}</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">Operating System</td> | ||
<td class="border px-4 py-2">{{os}}</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">Browser</td> | ||
<td class="border px-4 py-2">{{browser}}</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">Screen Resolution</td> | ||
<td id="Screen-res-target" class="border px-4 py-2">Javascript</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">Language</td> | ||
<td class="border px-4 py-2">{{language}}</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">User agent</td> | ||
<td class="border px-4 py-2">{{user_agent}}</td> | ||
</tr> | ||
|
||
<script> | ||
document.getElementById('Screen-res-target').innerText = window.screen.width + 'x' + window.screen.height; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tr> | ||
<td class="border px-4 py-2">Average Visit Time</td> | ||
<td class="border px-4 py-2">{{average_time}} minutes.</td> | ||
</tr> | ||
<tr> | ||
<td class="border px-4 py-2">Visit Duration</td> | ||
<td class="border px-4 py-2">{{total_time}}</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters