Vulcanizer & Google Analytics

51 views
Skip to first unread message

Kelly St. John

unread,
Feb 22, 2015, 7:22:20 PM2/22/15
to polym...@googlegroups.com
Any recommendations on getting Google Analytics script working in a vulcanized version of a polymer site?  Vulcanized version of site won't load in browser at all if it is vulcanized with Google Analytics script included.  The un-vulcanized version of the site runs fine with the analytics script.

Kelly St. John

unread,
Feb 22, 2015, 7:36:59 PM2/22/15
to polym...@googlegroups.com
Some additional info to add to my post...I'm currently using vulcanize's --inline--strip, and -p command-line arguments.

Rob Dodson

unread,
Feb 23, 2015, 1:43:34 PM2/23/15
to Kelly St. John, polymer-dev
hm, if it's messing up GA I would recommend moving your imports out of index and into an elements.html file. Vulcanize that file and import it in index.html. Then just stick the normal GA script tag at the bottom of the page.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9591888b-6855-4385-af5b-1769e15d392b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Eric Bidelman

unread,
Feb 23, 2015, 2:36:25 PM2/23/15
to Rob Dodson, Kelly St. John, polymer-dev
I'm curious to know what it's doing that messes up the GA script include?

Reply all
Reply to author
Forward
0 new messages