error using google analytics

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/16/2010 6:20:36 AM
Gravatar
Total Posts 108
Community Expert

error using google analytics

Hi Joe, I was follow the tutorial for set the Google analytic account in my portal, I put the account ID in the admin site, and check that the two controls are put in place.

Those are the scripts for my page

<body class="pagebody"> 

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount','UA-XXXXXXXX-1']);
_gaq.push(['_setCustomVar', 1, 'member-type', 'anonymous', 1]); _gaq.push(['_trackPageview']);
</script>

 

<script type="text/javascript">

(function() {

var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();

</script>
</body>  

In my Google Analytics account, I add my page www.iislafe.es  and create the filters that you suggest in http://www.mojoportal.com/google-analytics-integration.aspx. In the column state I have a alert icon that say  unknown tracking code, and after a week all my stats are at 0.

Any thoughts about this? 

 

 

11/16/2010 6:29:34 AM
Gravatar
Total Posts 18439

Re: error using google analytics

In google analytics it should show an indicator whether it is configured correctly and capturing data. There is a verification process where you need to upload an html file that google provides in order to verify your account and start capturing data.

Hope it helps,

Joe

12/1/2010 4:54:00 AM
Gravatar
Total Posts 108
Community Expert

Re: error using google analytics

Hi Joe, I forgotten make a reply before. The issue was that I miss the verification process. Thanks Joe for the tip

You must sign in to post in the forums. This thread is closed to new posts.