@segment/canonical
Get the current page's canonical URL.
Usage no npm install needed!
<script type="module">
import segmentCanonical from 'https://cdn.skypack.dev/@segment/canonical';
</script>
Get the current page's canonical URL.
<script type="module">
import segmentCanonical from 'https://cdn.skypack.dev/@segment/canonical';
</script>