-
Forgive me as I am no web developer, and I don't deal with JS. I have a static website which is strictly HTML, no CSS or JS. I want to use TelemetryDeck simply to get some analyitics on visitors so I assume that the page load example would be sufficient. To do so, I snatched the below code and swapped in my app ID however, I'm getting no signals and the following error in my console...
It's my understanding, which may be wrong that if I don't specify
If I keep |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This appears to be my misunderstanding with the documentation. The following code fixed my issue, I apologize. <script src="https://unpkg.com/@telemetrydeck/sdk/dist/telemetrydeck.min.js" defer></script>
<script>
window.td = window.td || [];
td.push(["app", MYAPPID], ["user", "anon"], ["signal"]);
</script> |
Beta Was this translation helpful? Give feedback.
-
Sorry for the confusion, your answer is the correct one. We're rethinking how the web sdk should work at the moment and I'm confident this will be easier soon. |
Beta Was this translation helpful? Give feedback.
This appears to be my misunderstanding with the documentation. The following code fixed my issue, I apologize.