OCHA-DAP / hdx-ckan

A repo for HDX's configurations and extensions to CKAN
Other
75 stars 25 forks source link

Not all resource download events are being captured by google analytics #3680

Open alexandru-m-g opened 9 years ago

alexandru-m-g commented 9 years ago

Somebody going directly to a resource download link will not be tracked by google analytics (GA) since he's not clicking the download button ( the GA event is triggered via js ).

A user might go directly to a link if he sees a shared link on one of the social networks OR if he has bookmarked it.

We could possibly track this by sending the download events from the server side to google analytics. Still, downloads of external resources will still not be tracked in this case.

If we just care about not missing links shared on social networks, we could have a resource preview page for any type of resource and then actually share that link.

A similar issue concerns the preview resource events since we're not tracking it when previewing the page but when clicking on the preview button

Pinging @cjhendrix

teodorescuserban commented 9 years ago

+1

Mar, 6 oct. 2015, 19:29, Alexandru Gartner notifications@github.com a scris:

Somebody going directly to a resource download link will not be tracked by google analytics (GA) since he's not clicking the download button ( the GA event is triggered via js ).

A user might go directly to a link if he sees a shared link on one of the social networks OR if he has bookmarked it.

We could possibly track this by sending the download events from the server side to google analytics. Still, downloads of external resources will still not be tracked in this case.

If we just care about not missing links shared on social networks, we could have a resource preview page for any type of resource and then actually share that link.

A similar issue concerns the preview resource events since we're not tracking it when previewing the page but when clicking on the preview button

Pinging @cjhendrix https://github.com/cjhendrix

— Reply to this email directly or view it on GitHub https://github.com/OCHA-DAP/hdx-ckan/issues/3680.

danmihaila commented 8 years ago

we need coordination in case we implement mix panel