refs pull request #33
swap makefile for gruntfile
add package.json for deps and ignore npm install
build IIFE wrappers moved into file system
extra jshintrc for test dir
some extra jshint build flags in core and helpers
banner needs extra return
Added code and updated remarks for dc.js in README
1.11.0 - version bump for dc.js support
Is this good to use yet? I have a client using GAS who wishes to integrate DoubleClick so wondering if I can advise him to implement this method?
Should I be warning the client that this is in beta? And if so, any ideas when it might be migrated to the main version?
@LinsBC -- test it somewhere first w/ the Google Analytics Debugger (Chrome) and if pageviews fire it should be fine to be "out of beta"
@BrianKatz -- I coded a shim like this before at my past employ (30M visits / day between properties). We saw less than a 0.25% drop now that adblock whitelisted the dc.js file. The fallback seemed a bit overkill for it and sometimes double loaded / generated false positives. Would not recommend it for effort/priority.
Thanks for this! I'm excited to start using the new version, but I'm afraid I'm not familiar enough with how github works to download new version. I checked the download and releases page, and the latest version 1.11.0 isn't listed.
Will something be uploaded there, or do I need to do something in github to create the file(s)?
Sorry I'm such a noob!
added grunt-contrib-clean to build process
added banner to min files
Merge remote-tracking branch 'origin/develop' into dc.js
Outbound events are non-interactive now
Allow negative event values
Don't push GAS functions inside _gaq.
Extra checks on the live handler, fixes issue with ie8
getElementByID !== getElementById
Tested locally and confirmed it's loading dc.js! You can download the release candidate zip at this link: https://dl.dropboxusercontent.com/u/7795606/gas-1.11.0.rc2.zip
The new snippet for how to load it can be found here: https://gist.github.com/tomfuertes/7043966
For now you'll have to host your own gas.min.js somewhere until the pull request is merged and 1.11.0 is shipped to the CDN.
Ping @DarrenCarterMD and @LinsBC -- release candidate script is zipped and linked to in the comment above
Thanks Tom. That's very helpful and much appreciated.
O.o Thanks and apologies! The new build system doesn't handle ascii/unicode in the same way. I deprecated/removed the offending function/code. You can download the patched release candidate below:
-- ping @LinsBC per the @DarrenCarterMD bug report above.
@DarrenCarterMD Sorry I pasted the old link in the original comment and edited it soon thereafter, but apparently not before the notification emails went out!
Try this one: https://dl.dropboxusercontent.com/u/7795606/gas-1.11.0.rc2.zip
One more time for @LinsBC
@DarrenCarterMD Sure, which urls?
On these two sites, it's not working.
Both have the same errors from the Google Tag Manager extension in Chrome:
From Google Tag Manager:
Error: No HTTP response detected
Error: Missing ga.js script
On this site, the tag is working.
There are a couple differences in implementation: 1) the script is in the body and not the head. 2) I also am using a hosted version of the script and don't have it locally. Could either be part of it?
The first two urls don't actually reference an online script.
Change all of your current src's from ga.src = '//demo/js/gas.min.js'; to ga.src = '//s3.amazonaws.com/nycsem/gas.min.js'; like it is on the working site.
ga.src = '//demo/js/gas.min.js';
ga.src = '//s3.amazonaws.com/nycsem/gas.min.js';
The universal analytics implementation on the first one is also missing a closing tag
But the current src's do point to a local instance of the gas.min.js script. For example, http://protectsmart.net/demo/js/gas.min.js is present. Why doesn't the local implementation work?
Thanks for the catching the universal tracking tag issue!
That solves it all. I'll go with my hosted file.
will the 1.11.0 gas.min.js will be brought to the CDN?
Will there be any changes in the documentation?
I can see no chnages on the main page since 1 year...
Working on this today! Have a PR with CDNJS (cdnjs/cdnjs#2207) to get 1.11.0 out on the CDN. I'll publish the 1.11.0 tag to master once that PR goes live.
Changelog Preview of 1.11.0 can be found here and/or read below: https://github.com/CardinalPath/gas/blob/17108967a02fc673ac1b27e15c370ee4b58fe122/CHANGELOG.md
1.11.0 has landed! Pull request rebased and merged into develop/master
If you want to install/update, instructions can be found on the front page README