Skip to content

Commit 64222e5

Browse files
Update cloudfront.md
1 parent 13f0d6f commit 64222e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/proxy/guides/cloudfront.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ With the origin and behaviours in place, you can replace your Plausible Analytic
5454
<script defer data-domain="yourdomain.com" src="/js/script.js"></script>
5555
```
5656

57-
If you're not using the CloudFront CDN, you'll also need to add a `data-api` attribute to tell the script where the data should be sent. This is how the new snippet should look like in that case (do make sure to edit it to the correct URL of your CloudFront distribution)
57+
If you're not using the CloudFront with a custom domain, you'll also need to add a `data-api` attribute to tell the script where the data should be sent. This is how the new snippet should look like in that case (do make sure to edit it to the correct URL of your CloudFront distribution)
5858

5959
```html
6060
<script defer data-domain="yourdomain.com" data-api="https://YOURDISTRIBUTION.cloudfront.net/api/event" src="https://YOURDISTRIBUTION.cloudfront.net/js/script.js"></script>

0 commit comments

Comments
 (0)