Hi Wim!
Just a thought: if we don't reload the page when clicking an internal link, how does statistics services like Google Analytics can count the click as a visit?
Thank you for all your work and good luck with this one :)
Hi Wim!
Just a thought: if we don't reload the page when clicking an internal link, how does statistics services like Google Analytics can count the click as a visit?
Thank you for all your work and good luck with this one :)
Comments
Comment #2
moshe weitzman commentedThis is probably an issue for google analytics module. Implementers should have a look at
Comment #3
moshe weitzman commentedComment #4
wim leersComment #5
wim leersWe'd want to trigger an event that JS can listen to. Then it's up to the JS that is the glue between a particular analytics service and Drupal to also trigger that analytics service when a page is loaded using RefreshLess.
Comment #6
wim leers#2695777: Announce new content to screenreader users when navigating using RefreshLess added a
refreshless:loadevent. Which means this is effectively a duplicate… or rather, a support request.In the case of Google Analytics, that means they have to do something like this: