Add redirect URL to the daily email form

- Format JSON for settings.
- Set the redirect URL to `/welcome`.
This commit is contained in:
Oliver Davies 2024-01-11 22:59:17 +00:00
parent 0bf1abbd6b
commit 4c04da3670

View file

@ -16,7 +16,66 @@
data-uid="{{ uid }}"
data-format="inline"
data-version="5"
data-options='{"settings":{"after_subscribe":{"action":"message","success_message":"Success! Now check your email to confirm your subscription.","redirect_url":""},"analytics":{"google":null,"fathom":null,"facebook":null,"segment":null,"pinterest":null,"sparkloop":null,"googletagmanager":null},"modal":{"trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15},"powered_by":{"show":true,"url":"https://convertkit.com/features/forms?utm_campaign=poweredby&utm_content=form&utm_medium=referral&utm_source=dynamic"},"recaptcha":{"enabled":false},"return_visitor":{"action":"show","custom_content":""},"slide_in":{"display_in":"bottom_right","trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15},"sticky_bar":{"display_in":"top","trigger":"timer","scroll_percentage":null,"timer":5,"devices":"all","show_once_every":15}},"version":"5"}'
data-options='{
"settings": {
"after_subscribe": {
"action": "message",
"redirect_url": "{{ site.url }}/welcome",
"success_message": null
},
"analytics": {
"facebook": null,
"fathom": null,
"google": null,
"googletagmanager": null,
"pinterest": null,
"segment": null,
"sparkloop": null
},
"modal": {
"devices": "all",
"scroll_percentage": null,
"show_once_every": 15,
"timer": 5,
"trigger": "timer"
},
"powered_by": {
"show": true,
"url": "https://convertkit.com/features/forms?utm_campaign=poweredby&utm_content=form&utm_medium=referral&utm_source=dynamic"
},
"recaptcha": {
"enabled": false
},
"return_visitor": {
"action": "show",
"custom_content": ""
},
"slide_in": {
"devices": "all",
"display_in": "bottom_right",
"scroll_percentage": null,
"show_once_every": 15,
"timer": 5,
"trigger": "timer"
},
"sticky_bar": {
"devices": "all",
"display_in": "top",
"scroll_percentage": null,
"show_once_every": 15,
"timer": 5,
"trigger": "timer"
}
},
"version": "5"
}'
min-width="400 500 600 700 800"
>
<div data-style="clean">