Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CCAP-314] Optimize scripts and move them to footer #799

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

spokenbird
Copy link
Contributor

🔗 Jira ticket

CCAP-314

✍️ Description

  • Move all from the to the footer. This moves scripts from render blocking, but it makes our tests fail, which I wasn’t able to resolve quickly.
  • Use capo.js to re-arrange the to be the most optimized

@@ -24,20 +25,16 @@
service: 'il-gcc-front-end',
env: '[[${@environment.getProperty("DATADOG_ENVIRONMENT")}]]',
sessionSampleRate: 100,
sessionReplaySampleRate: '[[${@environment.getProperty("DATADOG_SESSION_REPLAY_SAMPLE_RATE")}]]',
sessionReplaySampleRate: [[${@environment.getProperty("DATADOG_SESSION_REPLAY_SAMPLE_RATE")}]],

Check notice

Code scanning / CodeQL

Syntax error Note

Error: Unexpected token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants