Comments (8)
After comparing the response, I get something odd.
Dev (just before ending </body>
):
<div data-ga-events='Form: Event - Polarised local parallelism|Submission|Fail|'></div>
Production (cuts off everything after data-ga-events
):
<div data-ga-events
Tracking from controller with:
GaEvents::Event.new('Form: Event - ' + @event.name, 'Submission', 'Fail')
from ga_events.
Can you provide a simple demo app showing the problem?
from ga_events.
I have the same issue, but on my dev environment.
It is actually worse than @fyllepo because it is stripped after <div data-ga-e
. The tag not even complete...
My first guess would be it has something to do with the content-length in the response header...
from ga_events.
I just tested with a simple demo app with Rails 4.2.5 - it doesn't show this problem.
@sophiedeziel: Which app server are you using? Can you provide a simple demo app showing the problem?
from ga_events.
I can't give you a demo because it's a closed source app. I decided to implement my own solution using a flash
to pass the event to the view and then fetching it with my own javascript.
We are using Puma
from ga_events.
I did a quick check with Puma, my test app doesn't produce this error.
It's quite difficult for us to spot this bug without a failing test app.
from ga_events.
I'll try to reproduce in a demo app if I have some time this week. I hope I can help soon.
from ga_events.
That would be awesome.
from ga_events.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ga_events.