ʹÓÃGA¼à²âÉÌÎñͨµÈÔÚÏß¿Í·þµÄ¶Ô»°
Ò»¡¢ÎªÊ²Ã´ÒªÊ¹ÓÃGA¼à²âÉÌÎñͨµÈÔÚÏß¿Í·þµÄ¶Ô»°Êý£¿
Ö÷ÒªÊÇΪÁËÓÐЧµÄÇø·Ö¶Ô»°µÄÀ´Ô´¡£±¾À´ÄØ£¬Õâ¸öÊÂÇéÓ¦¸ÃÊÇÔÚÏß¿Í·þ·þϵͳȥ×ö¡£Èç¹ûÏëÒªÓÐЧµÄÇø·ÖÒ»¸öÁ÷Á¿µÄÀ´Ô´£¬ÐèÒªLanding page URLºÍrefererÅäºÏ²Å¿ÉÒÔ¡£Ä¿Ç°´ó²¿·ÖÔÚÏß¿Í·þϵͳ¶ÔÕâ·½ÃæµÄÖ§³Ö¶¼²»ÊÇÄÇôºÃ£¬¶ø¶ÔÓÚGAµÈÍøÕ¾·ÖÎö¹¤¾ß£¬ÔÚÇø·ÖÁ÷Á¿À´Ô´Õâ·½Ãæ×öµÄÔò±È½ÏºÃ¡£ Òò´Ë£¬²úÉúÁËÕâÑùµÄÐèÇó£¬ÓÃGAÀ´¸ú×ÙÔÚÏß¿Í·þµÄ¶Ô»°Êý¡£
¶þ¡¢¸ú×ٵĻù±¾Ë¼Â·
Õâ¸öµÄ¸ú×Ù˼·ÆäʵÓë³öÕ¾µã»÷¡¢ÎļþÏÂÔصÄ˼·һÖ£¬¾ÍÊÇÔÚµã»÷¶Ô»°´°¿ÚʱÔËÐÐ_trackPageview»òÕß_trackEvent¼Ç¼ÏÂÀ´¾Í ¿ÉÒÔÁË¡£µ«ÊÇ£¬ÓÐÒ»µã²»Í¬ÊÇ£¬¶Ô»°´°¿ÚÒ»°ã¶¼ÊÇͨ¹ýJS¶¯Ì¬Êä³öµÄ£¬Òò´Ë£¬ÎÒÃÇÐèҪͨ¹ýÔÚDomÊ÷ÉϲéÕÒµ½¶ÔÓ¦µÄÔªËØ£¬²¢Ìí¼Óʼþ¼àÌý£¬µ±Óû§µã»÷¶Ô»°°´ ťʱ£¬Ôòµ÷ÓÃ_trackPageview»òÕß_trackEvent¼Ç¼¡£
ÕâÀï±È½ÏÂé·³µÄÊÇ´ÓDomÊ÷ÀïÕÒµ½Òª¼àÌýonclickʼþµÄ¶ÔÏó¡£
Èý¡¢¾ßÌåµÄ¸ú×ÙʵÀý
ÏȽéÉÜÒ»¸öº¯Êý¡£
function startListening (obj,evnt,func) {
¡¡¡¡if (obj.addEventListener) {
¡¡¡¡¡¡¡¡obj.addEventListener(evnt,func,false);
¡¡¡¡} else if (obj.attachEvent) {
¡¡¡¡¡¡¡¡obj.attachEvent("on" + evnt,func);
¡¡¡¡}
}
Õâ¸öÖ÷ÒªÊÇÓÃÀ´¸ã¶¨ä¯ÀÀÆ÷¼æÈÝÐÔ¡£
ÕâÀïÓÐÈý¸ö²ÎÊý£º
obj£ºÒªÌí¼Óʼþ¼àÌýµÄ¶ÔÏó¡£
event£ºÒª¼àÌýµÄʼþ£¬²»ÐèҪдon¡£
func£º²¶×½µ½Ê¼þºóÒªÔËÐеĺ¯Êý¡£ÕâÀïҪעÒâµÄÊÇ£¬funcÖ»ÐèҪдº¯ÊýÃû£¬¶ø²»ÐèÒª£¨£©£¬Æ京ÒåÊǵ±¶ÔӦʼþ·¢ÉúÁË£¬ÔËÐк¯Êý£¬¶ø²»ÊǺ¯ÊýµÄ½á¹û¡£
Õâ¸öº¯Êý»¹ÓÐÐí¶àÓÃ;£¬±ÈÈç¼à²âÒ³ÃæÄÚËùÓÐÁ´½ÓµÄµã»÷Çé¿ö£¬¸ú×Ù³öÕ¾Á´½ÓµÈµÈ¡£
½ÓÏÂÀ´Ê×ÏÈÊÇÕÒµ½Òª¼àÌýµÄʼþ¶ÔÏó¡£
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄKV´æ´¢ÏµÍ³
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨¶þ£©
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨Ò»£©
- Ðì¹úÏ飺΢²©ÊÇ·ñ»á²ÎÓëÍøÕ¾ÅÅÃû
- ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
- ÈçºÎ½øÐÐÍøÕ¾Õï¶Ï ΪÍøÕ¾½øÐÐÆÀ·Ö
- Ò»¸ö³É¹¦µÄÕ¾³¤Ó¦¸Ã¾ß±¸µÄËØÖÊ
- Ò»Ìõ΢²©Òý·¢µÄ·ÖÎö£ºÈçºÎÈÃ΢²©µÃµ½¹ã·º´«²¥
- ÈçºÎÈÃÒ»¸öÍøÕ¾ÓÐÇ¿´óÉúÃüÁ¦
- פ×ãIDCÃż÷³Ö±Ò¹ÛÍû Õ¾³¤Ñ¡¹º¿Õ¼ä³É¡°¼èÄѵľö¶¨¡±£¿
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ