You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I installed the analytics feature through segment.io (Ch. 26) I noticed a strange behavior on my segment debugger dashboard:
Whenever a form event is triggered (sign up or contact request) the user is redirected to the root (as intended) but the page is loaded 3 times. The same behavior happens when you load the app using the URL (not the nav links).
I attached a screenshot of my segment dashboard to give you some context.
Any idea why this is happening?
Note: The console.log line you wrote in the segmentio.js file is also printed 2 times when an event is triggered.
The text was updated successfully, but these errors were encountered:
Maybe we should close this, @DanielKehoe? This issue has been around for so long, and Turbolinks has been rewritten from scratch since then. ;) This issue does not happen in the latest version of this repo.
Hi Daniel!
I've followed the book closely and the app is working great (https://sr-learn-rails.herokuapp.com/).
When I installed the analytics feature through segment.io (Ch. 26) I noticed a strange behavior on my segment debugger dashboard:
Whenever a form event is triggered (sign up or contact request) the user is redirected to the root (as intended) but the page is loaded 3 times. The same behavior happens when you load the app using the URL (not the nav links).
I attached a screenshot of my segment dashboard to give you some context.
Any idea why this is happening?
Note: The console.log line you wrote in the segmentio.js file is also printed 2 times when an event is triggered.
The text was updated successfully, but these errors were encountered: