Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...google analytics not working since upgrade from 5.5.1 to 5.6google analytics not working since upgrade from 5.5.1 to 5.6
Previous
 
Next
New Post
12/9/2010 4:47 AM
 
AFAIK the [TRACKER_ID] placeholder in SiteAnalytics.config has always rendered double quotes around the tracker code. The problem has arisen because the placeholder has been enclosed in single quotes in DNN 5.6.

If you remove the single quotes in the versions of SiteAnalytics.config in both the web root, and the config directory, Google Analytics starts recording data again.

Have raised a bug for this in Gemini: http://support.dotnetnuke.com/Default.aspx?p=2&i=14614.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
12/9/2010 7:22 AM
 
According to current status of DNN-14614, it is scheduled to be fixed for DNN 5.6.1 (but no guarantee).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/24/2010 5:16 AM
 
Thanks this solution works fine.
 
New Post
1/17/2011 3:27 PM
 
Make the following changes to SiteAnalytics.config:

<?xml version="1.0" encoding="utf-8" ?>
<AnalyticsEngineConfig>
  <Engines>
    <AnalyticsEngine>
      <EngineType>DotNetNuke.Professional.Services.Analytics.GoogleAnalyticsEngine, DotNetNuke.Professional</EngineType>
      <ElementId>Head</ElementId>
      <InjectTop>False</InjectTop>
      <ScriptTemplate>
        <![CDATA[

          <script type="text/javascript">
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', '[TRACKING_ID]']);
            _gaq.push(['_setDomainName', '[DOMAIN_NAME]']);
            _gaq.push(['_setAllowHash', [ALLOW_HASH]]);
            
            
            function _pageTracker (type) {
                this.type = type;
                this._setCustomVar = function(a,b,c,d) {
              _gaq.push(['_setCustomVar', a, b, c, d]);
                    };
               }

            var pageTracker = new _pageTracker();

            
            [CUSTOM_SCRIPT]
            _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') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();
          </script>

        ]]>
      </ScriptTemplate>
    </AnalyticsEngine>
  </Engines>
</AnalyticsEngineConfig>
 
New Post
1/20/2011 4:12 AM
 
This issue seems to be fixed in 5.06.01 release. "Fixed issue where Google Analytics was broken during upgrade to 5.6.0" http://dotnetnuke.codeplex.com/releases/view/59419#DownloadId=199146
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...google analytics not working since upgrade from 5.5.1 to 5.6google analytics not working since upgrade from 5.5.1 to 5.6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out