How to do mobile analytics using Jquery mobile

前端 未结 2 1027
一向
一向 2021-02-06 06:57

I am looking for a good solution to do mobile analytics for Jquery mobile . I did check this question

Flurry Analytics vs Google Analytics on the mobile platform

2条回答
  •  你的背包
    2021-02-06 07:47

    I'm using the following:

    
    

    The 'pageshow' event fires even for the first page, so don't think you want to include the _trackPageview with the GA setup. Also, location.hash will return url with the "#" character so hash.subtr(1) cleans that off which will normalize hash/pushstate visitors.

    Update 11/30/11: Added check for hash length for ie bug (from: Paulo Manuel Santos).

提交回复
热议问题