You can determine the page URL like so:
html`<a href>`.href
Or the path:
html`<a href>`.pathname
For example:
ga("send", "pageview", html`<a href>`.pathname)
You can determine the page URL like so:
html`<a href>`.href
Or the path:
html`<a href>`.pathname
For example:
ga("send", "pageview", html`<a href>`.pathname)