简体   繁体   中英

Facebook Google Analytics

I'm having some trouble getting Google Analytics to work with Facebook, has anyone here gotten this to work? Facebook provides the tag in FBML, but it doesn't seem to do anything. I've added it at the bottom of my document, and the status never changes from Tracking Not Installed in Google Analytics.

I'm using this in a Django-based web app. Here's the relevant portion of the template I'm using.

<fb:header icon="false">
    {% block title %}
    {% endblock %}
</fb:header>

{% block main %}
{% endblock %}

<fb:google-analytics uacct="UA-XXXXXXX" />

To use Google Analytics within a non canvas pages. Use this workaround http://www.webdigi.co.uk/blog/2010/google-analytics-for-facebook-fan-pages/ by this web development company .

This works on Facebook pages and can potentially work on other places where Javascript is not enabled.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM