Skip to content
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

Add param to thank-you url submitted to jotform #13

Open
kevinhowbrook opened this issue Oct 9, 2020 · 0 comments
Open

Add param to thank-you url submitted to jotform #13

kevinhowbrook opened this issue Oct 9, 2020 · 0 comments

Comments

@kevinhowbrook
Copy link
Collaborator

The thank-you url would benefit from being added with a parameter in the jotform side. so the url for the thank you page would be form/thank-you?succes=True or something like that...

This would make it easier to work with analytics and pushing data on successful submissions. Because at the moment any user can request the thank-you page, but with a parameter we could check for that and decide to push js or not

https://github.com/kevinhowbrook/wagtail-jotform/blob/master/wagtail_jotform/wagtail_hooks.py#L10

 thank_you_url = page.full_url + page.specific.reverse_subpage(
            "embedded_form_thank_you"
        )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant