Using Google Analytics without Javascript?

后端 未结 3 1668
情话喂你
情话喂你 2020-12-15 11:00

Is it possible to use the Google Analytics code on a website which does not support javascript or any server side scripting? (For example a profile page on a website whi

3条回答
  •  情话喂你
    2020-12-15 11:50

    Just point an image to the site with your account details, and you are good to go!

    The format of the URL in the public service is:

    http://nojsstats.appspot.com/your-google-analytics-user-account/your-website.com
    

    For example:

    http://nojsstats.appspot.com/UA-123456/your-website.com
    

    Example (HTML code):

    
    

    Example (BBCode):

    [img]http://nojsstats.appspot.com/UA-123456/mywebsite.com[/img]
    

    Example (CSS code):

    body{
    background: url("http://nojsstats.appspot.com/UA-123456/mywebsite.com");
    }
    

    Note:

    If your website uses SSL, you have to point to our SSL version:
    httpS://nojsstats.appspot.com/UA-123456/yourwebsite.com
    

    Only use the SSL version if your website uses SSL. Credits: http://nojsstats.blogspot.in/

提交回复
热议问题