{ end -}}
            } else if (formType == "negative") {
                {{ if .Site.GoogleAnalytics -}}
                gtag('event', '{{ replaceRE `( {1,})` "_" (.Site.Params.feedback.negativeEventName | default "Positive Feedback" | lower) }}',
                    {
                        'rating': selected,
                        'message': message,
                        'event_callback': success
                    }
                ),
                {{ end -}}
                {{ if .Site.Params