- NGHSAsked on June 26, 2017 at 10:19 AM
I have a form that gets about 30,000 views per month. I'm using the "Script embed". Does a form published using the "Source Code" embed option use the form view limits?
- JotForm SupportaubreybourkeAnswered on June 26, 2017 at 10:24 AM
Yes every embed option will use the form view limit.
- NGHSAnswered on June 26, 2017 at 10:29 AM
Thanks for the response, Aubrey.
Why should viewing a form using the Source Embed option decrease my remaining form views?
The HTML that is being rendered is hosted on my own server and requires no resources from JotForm to be viewed.
Thanks for helping me understand!
- JotForm SupportaubreybourkeAnswered on June 26, 2017 at 11:05 AM
Thats a good question.
The form is located in the JotForm data center. Not on your local hard disk.
If you use the source embed option it still does require access to JotForm.
For example when you submit your form, you access the JotForm server, which performs the back end processing.
- NGHSAnswered on June 26, 2017 at 11:13 AM
Aubrey thanks for the response. Please continue to help me understand...
1) Yes, the form and all the form files are located in the JotForm data center. The fact that JotForm hosts these files for me counts as a "Forms" limit (which is unlimited), and does not count against my "Form Views" limit.
2) When a user clicks "Submit" on a form, that counts on my "Submissions limit", not my "Form Views" limit.
3) I could understand JotForm limiting my views based on the "Script" embed option, because that requires JotForm to serve up HTML each time the script on the page loads. Again, when someone loads my HTML page on my sever that contains static HTML that JotForm once created for me, how does loading my HTML page impact JotForm in any way?
- JotForm SupportaubreybourkeAnswered on June 26, 2017 at 11:31 AM
The http protocol works on a request > response basis. When you request a page via a URL the server responds by sending the html file. Inside that file are resources (images, scripts, css, etc). For the page to render, the browser needs to request the server again for each resource.
So you can see just requesting the form (a single view) will generate quite a lot of work for the server.
- JotForm SupportaubreybourkeAnswered on June 26, 2017 at 11:38 AM
You have to think of it from our side. In our logs we will see a request for your form. That is counted as a page view. We have no way of knowing if your page used the source embed option.
- NGHSAnswered on June 26, 2017 at 11:43 AM
Good discussion. I do think JotForm could add a parameter to the script source URLs that go to your CDN. Something like "https://cdn.jotfor.ms/static/jotform.forms.js?3.3.793&source=embed
Last question: If I want to publish and use a form without the Form View limitation, should I download the CSS and the JS from your CDN and hardcode on my page like I did here? (see link below)
Just curious, my friend!
- JotForm SupportaubreybourkeAnswered on June 26, 2017 at 12:03 PM
Yes very good questions.
If your form is not making any requests to JotForm, I cant see how it could be counted as a view.
Did you test this?
- NGHSAnswered on June 26, 2017 at 12:04 PM
Thank you for helping me understand, Aubrey. Have a great week!