Embedding Google Analytics - good or evil - poll

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)