Skip to content

Commit

Permalink
📝 update CDN URLs for V3 (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer authored Jul 27, 2021
1 parent d815f8b commit 4950a32
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ This repository contains several packages:
[12]: https://badge.fury.io/js/%40datadog%2Fbrowser-rum
[13]: https://badgen.net/bundlephobia/minzip/@datadog/browser-rum
[14]: https://bundlephobia.com/result?p=@datadog/browser-rum
[15]: https://www.datadoghq-browser-agent.com/datadog-rum.js
[15]: https://www.datadoghq-browser-agent.com/datadog-rum-v3.js
[17]: ./packages/rum/README.md
[18]: https://docs.datadoghq.com/real_user_monitoring/
[21]: https://badge.fury.io/js/%40datadog%2Fbrowser-rum-slim.svg
[22]: https://badge.fury.io/js/%40datadog%2Fbrowser-rum-slim
[23]: https://badgen.net/bundlephobia/minzip/@datadog/browser-rum-slim
[24]: https://bundlephobia.com/result?p=@datadog/browser-rum-slim
[25]: https://www.datadoghq-browser-agent.com/datadog-rum-slim.js
[25]: https://www.datadoghq-browser-agent.com/datadog-rum-slim-v3.js
[27]: ./packages/rum-slim/README.md
[28]: https://docs.datadoghq.com/real_user_monitoring/
[41]: https://badge.fury.io/js/%40datadog%2Fbrowser-core.svg
Expand Down
4 changes: 2 additions & 2 deletions packages/rum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Add the generated code snippet to the head tag of every HTML page you want to mo
h=h[d]=h[d]||{q:[],onReady:function(c){h.q.push(c)}}
d=o.createElement(u);d.async=1;d.src=n
n=o.getElementsByTagName(u)[0];n.parentNode.insertBefore(d,n)
})(window,document,'script','https://www.datadoghq-browser-agent.com/datadog-rum.js','DD_RUM')
})(window,document,'script','https://www.datadoghq-browser-agent.com/datadog-rum-v3.js','DD_RUM')
DD_RUM.onReady(function() {
DD_RUM.init({
clientToken: '<CLIENT_TOKEN>',
Expand All @@ -87,7 +87,7 @@ Add the generated code snippet to the head tag of every HTML page you want to mo
Add the generated code snippet to the head tag (in front of any other script tags) of every HTML page you want to monitor in your application. Including the script tag higher and synchronized ensures Datadog RUM can collect all performance data and errors.

```html
<script src="https://www.datadoghq-browser-agent.com/datadog-rum.js" type="text/javascript"></script>
<script src="https://www.datadoghq-browser-agent.com/datadog-rum-v3.js" type="text/javascript"></script>
<script>
window.DD_RUM &&
window.DD_RUM.init({
Expand Down
2 changes: 1 addition & 1 deletion performances/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Options:
const proxy = await startProxy()

const options: ProfilingOptions = {
bundleUrl: 'https://www.datadoghq-browser-agent.com/datadog-rum.js',
bundleUrl: 'https://www.datadoghq-browser-agent.com/datadog-rum-v3.js',
proxy,
startRecording,
}
Expand Down

0 comments on commit 4950a32

Please sign in to comment.