farcrycore / plugin-googleanalytics Goto Github PK
View Code? Open in Web Editor NEWGoogle Analytics plugin
Google Analytics plugin
Trackiffer.js: GA Events Made Easier
http://www.viget.com/engage/trackiffer-ga-events-made-easier/
Trackiffer 0.2.4
https://github.com/averyvery/trackiffer/
Hello, we are working on updating everything on our server and ran into the following error.
ERROR OVERVIEW
Core Version : 7.2.8
Machine : **Machine Name**
Instance : unknown
Message : The names of user-defined functions cannot be the same as built-in ColdFusion functions.
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
DateTime : {ts '2017-03-06 16:25:27'}
Host : **test server address**
HTTPReferer : http://**test server address**/webtop/edittabOverview.cfm?objectid=3D922AC0-9D51-11E6-889A005056B77D83&typename=dmHTML&dialogID=fcModal
QueryString : objectid=3D922AC0-9D51-11E6-889A005056B77D83&typename=dmHTML&dialogID=fcModal&directory3D922AC09D5111E6889A005056B77D83-tab=directory3D922AC09D5111E6889A005056B77D83-custom-2
RemoteAddress : 10.0.1.2
Bot : not a bot
ERROR DETAILS
Exception Type : Template
Detail : The name arraymap is the name of a built-in ColdFusion function.<p>The CFML compiler was processing:<ul><li>A cffunction tag beginning on line 263, column 2.</ul>
Tag Context : * G:\#APP PATH#\plugins\googleanalytics\webskin\types\webtopOverviewTabGA.cfm (line: 263)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 140)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 76)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 11)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 9)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 1)
- G:\#APP PATH#\core\webskin\types\webtopOverviewTab.cfm (line: 184)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 140)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 76)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 11)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 9)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 1)
- G:\#APP PATH#\core\webskin\types\webtopOverview.cfm (line: 67)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 140)
I don't see the arraymap function found here called anywhere else in the plugin so I comment it out and get a separate error shown here.
ERROR OVERVIEW
Core Version : 7.2.8
Machine : **Machine Name**
Instance : unknown
Message : The method getSettings was not found in component G:\#APP PATH#\plugins\googleanalytics\packages\lib\ga.cfc.
Browser : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
DateTime : {ts '2017-03-06 16:26:29'}
Host : **test server address**
HTTPReferer : http://**test server address**/webtop/edittabOverview.cfm?objectid=E932F6A0-58F2-11E6-A0B3005056B77D83&typename=dmHTML&dialogID=fcModal
QueryString : objectid=E932F6A0-58F2-11E6-A0B3005056B77D83&typename=dmHTML&dialogID=fcModal&directoryE932F6A058F211E6A0B3005056B77D83-tab=directoryE932F6A058F211E6A0B3005056B77D83-custom-2
RemoteAddress : 10.0.1.2
Bot : not a bot
ERROR DETAILS
Exception Type : Application
Detail : Ensure that the method is defined, and that it is spelled correctly.
Tag Context : * G:\#APP PATH#\plugins\googleanalytics\webskin\types\webtopOverviewTabGA.cfm (line: 6)
* G:\#APP PATH#\plugins\googleanalytics\webskin\types\webtopOverviewTabGA.cfm (line: 1)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 140)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 76)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 11)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 9)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 1)
- G:\#APP PATH#\core\webskin\types\webtopOverviewTab.cfm (line: 184)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 140)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 76)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 11)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 9)
- G:\#APP PATH#\core\tags\webskin\view.cfm (line: 1)
- G:\#APP PATH#\core\webskin\types\webtopOverview.cfm (line: 67)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 452)
- G:\#APP PATH#\core\packages\fourq\fourq.cfc (line: 338)
I have tried installing the latest git commit, and the latest Universal Urchin commit with no change. Is there something obvious I'm missing in the install process or perhaps is this plugin considered outdated? I can't tell if I'm doing something wrong or if this plugin is out of date in relation to the current state of Google Analytics.
Thanks for any input.
Link:
http://code.google.com/apis/analytics/docs/tracking/gaTrackingSocial.html
Out of the box, Google Analytics provides integrated reporting for the Google +1 button. This means if you have set up both Google +1 and the latest version of Google Analytics on the same page, all +1 social interactions will be automatically reported. For more information on +1 Analytics, including troubleshooting tips, see About Social Analytics in Our Help Center.
To get social interaction Analytics and reporting for other networks like Facebook or Twitter, you need to integrate Google Analytics with each network button. With Social Plug-in Analytics, recorded interactions range from a Facebook "Like" to a Twitter "Tweet." While event tracking can track general content interactions as well, Social Analytics provides a consistent framework for recording social interactions. This in turn provides Google Analytics report users with a consistent set of reports to compare social network interactions across multiple networks.
Currently multiple configurations are possible as a legacy of support for the deprecated "multi-site" plugin. Configuration needs to be refactored to be a standard farcry config component.
Implement options for A/B tracking within the plugin.
Could possibly be done by alternating the approved pages under a single navigation menu in the tree. ie. create multiple content pages under a single nav node, and have them randomly served up with A/B tracking code in place.
Apply google custom variables to google analytics plugin; at least use visitor and session variables for tracking user profile and role activity within the site for logged in users
Would be nice if we could easily override the OnRequestEnd functionality. For example, we're loading our own copy of jQuery (without using loadJS) so having the onRequestEnd load FC's copy of jQuery results in jQuery being loaded twice.
For now I've duplicated _OnRequestEnd.cfm in the project and will rename the plugin's version, but it would be nice if it was in the onRequestEnd of the Application.cfc for example and we could override that in our project's Application.cfc. Goes back to this bug I opened a while ago that would allow plugins to tap into the App.cfc lifecycle https://farcry.jira.com/browse/FC-2462
Add Google Universal tracking as the default tracking embed.
Classic should still be an option that can be chosen in the config screen.
Need to establish what knock-on effects the switch to Universal will have on tracking external links and file downloads.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.