- Home
- » Marketplace
- » Mura CMS Plugins »
- Google Analytics
Google Analytics
Description
The Google Analytics Plug-In gives your site the ability to hook to Google's Analytics environment for common tracking purposes.
Instructions on how to use the plug-in can be found by clicking on the plug-in link once it has been installed within your Mura environment.
Requirements: Mura v5.1.1538 or higher
Support
https://github.com/blueriver/MuraGoogleAnalyticsReviews
- January 26, 2010, 10:39 AM
- Megan said:
-
Wow! - thanks :D ~ much appreciated ~megan
- January 26, 2010, 6:48 PM
- Ronnie said:
-
So... I installed the plugin and set the tracking ID for a single domain, but the code on the site has not changed... did I miss something?
the URL is www.freezeprufpro.com
- January 26, 2010, 9:06 PM
- Pat Santora said:
-
@Ronnie
It's important to note that you must have Mura v5.1.1538 (released 1/25/2010) or higher in order for the plugin to work.
The main reason is because the plugin utilizes the new onRendedEnd event to help its injection process.
If you have a recent version of Mura installed (a few months old) then you can simply update your version by click the update core files button found after clicking the "site settings" link (note to not click on the "edit current site" link and update) within the Mura admin.
Let us know how it plays out.
- January 26, 2010, 9:09 PM
- Pat Santora said:
-
Correction for last post:
onRenderEnd, not onRendedEnd
Fat fingered it!
- January 27, 2010, 7:37 PM
- Ronnie said:
-
SWEET! Works now.
Only thing is that I made a couple modifications to my admin so when I updated the core files, I had to go back and replace a few.
Noted: Do NOT update the site files to latest version... virtually wipes all of that sites customization back to default... good thing I made a backup first! LOL
Thanks!
- January 27, 2010, 7:46 PM
- Pat Santora said:
-
@Ronnie
Glad to hear that it works for you now.
Yeah you should rarely need to update your "site" files. The ones that you should really need to worry about are the "core" files. These are two different updates.
- January 28, 2010, 9:55 AM
- Tony Garcia said:
-
I've found that if I follow these 3 steps:
1) Use a theme to customize the site layout
2) put any modified display objects in the the "custom" directory ([siteid]/includes/display_objects/custom)
3) Keep all custom rendering logic and eventHandlers in my local contentRender.cfc and eventHandler.cfc's(in the[siteid]/includes/ directory)
I can update my site files without worring about wiping out my modifications.
- February 5, 2010, 10:12 AM
- Brian FitzGerald said:
-
Hey Tony, when you refer to your "custom rendering logic," what type of stuff are you referring to?
Just haven't come across the need for this yet, but I would like to learn more.
Thanks,
Brian
- February 25, 2010, 10:47 AM
- Steve Withington said:
-
@Pat,
fyi, all of your tooltips have a minor typo in them when installing the plugin. they read 'Analystcis' vs. 'Analytics'
- February 25, 2010, 12:08 PM
- Pat Santora said:
-
@Steve
Good eye. Thanks. I've updated the hints.
NOTE: I did not update the version number since it was a simple typo. No functionality was changed.
Thanks
- February 27, 2010, 3:00 PM
- Ronnie said:
-
@ Pat:
I was just looking at my analytics, and noticed that every site that I am using this plugin on now shows 0 hits ever since the day I installed it.... GA shows that the tracking code is installed, but it doesn't seem to be reporting any data.
Anyone else experience this?
- February 27, 2010, 3:18 PM
- Ronnie said:
-
The only difference in the code that I can see is that the plugin wraps a space around the Google Analytics keys (around the quotes):
Rendered plugin:
var pageTracker = _gat._getTracker( "{UA-3301586-2}" );
Code Provided by Google:
var pageTracker = _gat._getTracker("UA-3301586-2");
Not sure if that would make a difference....
- February 27, 2010, 3:44 PM
- Pat Santora said:
-
@Ronnie
I'm going to assume that you placed "{" & "}" around your property ID?
The finished format within the plugin as show within the it's hint should be:
siteA=UA-12345678-1
not
siteA={UA-12345678-1}
Could this be your problem as I would think google would not accept that as a valid ID?
- February 27, 2010, 3:50 PM
- Ronnie said:
-
Ah... that would explain it.
Its weird cause even with the extra { } Google says it's installed correctly.
I've corrected that and will see if I start getting traffic again!
Thanks Pat!
- February 27, 2010, 3:57 PM
- Pat Santora said:
-
@Ronnie
Great. If I don't hear from you then I will assume that this was the issue.
I may change the verbiage in the plugin to not have the "{" & "}" within the label. Will see if this becomes a constant issue.
- March 17, 2010, 9:27 PM
- Chris said:
-
I've just installed the plugin and everything seems fine with the installation, but I cannot see it appearing anywhere in the code on the site.
I have a brand new download and installation of MURA CMS.
Do I need to add the plugin to each page of content on my site?
- March 17, 2010, 9:44 PM
- Chris said:
-
**EDIT**
Forget it - I didn't use the correct siteID.
I just used the one out of the example. "siteID", rather than changing that to my actual site ID.
Didn't understand the significance.
Solved and working like a beauty.
- May 25, 2010, 8:54 PM
- John Gag said:
-
Thanks! Works awesome. Easy to install