diff --git a/layouts/shortcodes/health-form.html b/layouts/shortcodes/health-form.html
index 1134cbc..544ab7d 100644
--- a/layouts/shortcodes/health-form.html
+++ b/layouts/shortcodes/health-form.html
@@ -132,7 +132,8 @@
document.addEventListener('DOMContentLoaded', dated);
const myUrl = new URL(window.location.toLocaleString());
- const mtRegistration = myUrl.searchParams.get('registration');
+ const mtRegistration = myUrl.searchParams.get('mtregistration');
+ const registration = myUrl.searchParams.get('registration');
console.log(mtRegistration);
diff --git a/layouts/shortcodes/mt-form.html b/layouts/shortcodes/mt-form.html
index 66fd4a0..6d3c29d 100644
--- a/layouts/shortcodes/mt-form.html
+++ b/layouts/shortcodes/mt-form.html
@@ -19,7 +19,7 @@
// This is how to send them. window.location.href = '/thankyou/';
var payment = document.getElementById('registration').value;
- window.location.href = '/mt-health-form?registration=' + payment;
+ window.location.href = '/mt-health-form?mtregistration=' + payment;
// Need to eventually get the user here: https://secure.myvanco.com/L-Z772/campaign/C-13DM3
}
};