SRI version edit

If you want to use SRI you can do this by using specific scripts. The default scripts are changing to reflect new features or code optimizations. You want to use SRI if you consider it a risk when our scripts change. You can also host our SRI script on your own server or CDN.

When you want to use our SRI version of our script you will need to update your script to https://scripts.simpleanalyticscdn.com/sri/v11.js. The full embed script becomes:

<script async defer src="https://scripts.simpleanalyticscdn.com/sri/v11.js" integrity="sha256-hkUzQr3zWmSDnmhw95ZmQSZ949upqD+ML9ejiN0UIIE= sha384-rfv15RJy1bBYZ1Mf4xizO26jorXb2myipCvHXy4rkG0SuEET96S+m0sTzu5vfbSI sha512-lQzjzTbOxHLwkZGDVMf4V0sm8v2Mrqm73IvKcXBftJ/MSZKQC4/jwKFToxT+3IVAVWQzLplSNHH8gM5d7b1BSg==" crossorigin="anonymous"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>

When using a custom domain you need to use this script: https://CUSTOM.DOMAIN/v11/app.js. Replace the CUSTOM.DOMAIN with your custom domain. To generate an SRI hash for your custom domain you can use report-uri.com or srihash.org.

To verify if our script is an SRI version you can always check for SRI-version in the first line:

SRI script viewed in a browser