Tag: 子域子

Javascriptredirect与谷歌分析

我需要帮助了解如何在包含Google Analytics代码的情况下成功redirect。 我有一个子域设置http://buuf.fractalsystems.org 该子域实际上只是一个子文件夹http://fractalsystems.org/buuf 我有一个HTML文件在该子文件夹redirect到https://market.android.com/developer?pub=Fractal%20Systems 该redirect文件的代码: <head> <script type="text/javascript"> function delayedRedirect(){ window.location = "https://market.android.com/developer?pub=Fractal%20Systems" } </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1234567-8']); <!–I have my real ID there–> _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + […]