Skip to content

ViewTransitions #1

@RamiJabr

Description

@RamiJabr

Hello,

I am working on a solution to make gtm work with Astro ViewTransitions. As far as I can see, Analytics is not correctly executed again when the page is left.

Depending on the script attributes (data-astro-rerun or is:inline) and/or additional event listener (astro:page-load or astro:after-swap) at least the external script is reloaded. However, the GA events are not triggered.

Maybe the window/document has to be cleaned in an astro:before-* event?

Is anyone interestedor has any ideas?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions