-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the Freshdesk/Freshdesk Widget with Turbolinks #89
Comments
Hello @nodunayo I'm facing the same issue, have you been able to resolve it? |
HI @belumarek — I haven't, I'm afraid. Hoping to spend more time looking into it this week. Let me know if you find anything! |
HI @belumarek — have you found anything on this? I'd really appreciate some help! |
Hi @belumarek — wait, where does Sentry come into it? Not sure how it's related to the issue. I'm not using Sentry for one! |
Hello,
I’ve been using the Freshdesk widget on my production app for a while now. I want to be able to pre-fill a user's email address as well as automatically set the ticket priority for my paid users to "High".
I've got it set up such that on the initial website loads or page refreshes, everything works as is expected, but when navigating from page-to-page within the app, only the widget is initialised, but none of the extra stuff is set up.
Here's how my code is set up.
In
app/views/layouts/application.html.erb
, just before the closing</body>
tag, I have:Inside
app/views/layouts/_freshdesk_widget.html.erb
, I have the following:I’ve tried many different things, from trying to call the code in different places, to trying to manually do what I want, but to no avail.
Ever since I started using this widget, when navigating to other pages after the initial page load, I always get the following error in my console:
I did get rid of these errors by putting the embed code in the
<head>
ofapplication.html.erb
, but it meant the widget didn’t load again beyond the initial page load. So, I put everything back to where the documentation said it should go and have just been ignoring the error message. I wonder whether it has any bearing on the problems I’m having now.Thank you in advance for any help I get! Let me know if you have any more questions or need to see more parts of the code.
The text was updated successfully, but these errors were encountered: