digitalpoint
Well-known member
I think it always says that... Are you getting anything on your reports?
Yeah... testing some things with it internally first though.Time to use Universal? Is out of beta!
At this time, Google Analytics Site Search, is not compatible with Universal Analytics.
So just ignore it for now?It works if you upgrade your account to Universal, but it's still the old JS code... The reason it hasn't been updated yet is because Universal doesn't support Site Search data yet:
https://support.google.com/customsearch/answer/2715510
The forums are, yes... social interaction are not under custom variables, it should just show on the normal Analytics social reports.So just ignore it for now?
And just to be clear, all the stuff that is tracked in this addon is in the custom variables?
Sorry, I meant goal and funnel. To see how many people get to the registration page and then back out essentially. Allowing us to do testing to see if we can improve conversion rates.No, it doesn't track usergroups... Not sure what a registration filter is... Something in Analytics?
<xen:if is="{$xenOptions.googleAnalyticsWebPropertyId}"><script>_gaq=[["_setAccount","{$xenOptions.googleAnalyticsWebPropertyId}"],["_setSiteSpeedSampleRate",10]];<xen:if is="{$forum.node_id} > 0">_gaq.push(["_setCustomVar",1,"Forum","{xen:jsescape {xen:raw $forum.title}} ({$forum.node_id})"]);</xen:if>_gaq.push(["_trackPageview"]);(function(){var b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="//stats.g.doubleclick.net/dc.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(b)})();
<xen:if is="{$forum.node_id} > 0">_gaq.push(["_setCustomVar",1,"Forum","{xen:jsescape {xen:raw $forum.title}} ({$forum.node_id})"]);</xen:if>_gaq.push(["_setCustomVar",2,"Usergroup",<xen:if is="{xen:helper ismemberof, $visitor, 1}">"Unregistered-1",<xen:elseif is="{xen:helper ismemberof, $visitor, 3}" />"Administrator-3",<xen:elseif is="{xen:helper ismemberof, $visitor, 4}" />"SuperModerator-4",<xen:elseif is="{xen:helper ismemberof, $visitor, 8}" />"Premium-8",<xen:elseif is="{xen:helper ismemberof, $visitor, 2}" />"Member-2",</xen:if>1]);_gaq.push(["_trackPageview"]);(function(){var b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src="//stats.g.doubleclick.net/dc.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(b)})();
Sorry, not a good combination of staying up late and fasting. My brain wasn't working too well last night.You shouldn't have to change the code or add custom variables for that... since the registration URL is unique to registration, you should be able to do it normally with the goals and funnels.
That code I gave you has worked for tracking visitors by usergroup. I'm quite surprised as to what I'm seeing on my site, though I'm sure there are extra "guests" showing up for users who go to log in. Needless to say, it's quite great seeing the breakdown. I also get to see how active my premium users are and I'll be able to see month by month how many are using the site!!I don't put anything in the registration funnel/goals... registration isn't a goal of mine, so...
We use essential cookies to make this site work, and optional cookies to enhance your experience.