Online Memberships Redirect

Online Memberships - Re-directing via return-URL

With Gym Insight, you can provide membership signups to your customers from your website!  We offer two ways of accomplishing this: embedded and standalone.  Our embedded membership signup can be placed directly into one of your website pages, while the standalone version is a separate webpage that you can link to from anywhere.  Using the standalone version makes it much easier to integrate into your website or social media sites since it is just a web address.


When linking the standalone version of the online membership signup page to your website, you may wish to send the customer to another page of your website after they complete their registration.  This might be for additional information you'd like them to see, or you might want to track conversions with a web analytics tool.  Fortunately, Gym Insight provides a mechanism you can use to accomplish this.

The standalone membership signup link is found in the Gym Insight App after configuring a new Website Signup Widget.  You can copy the link there to use on your website.  However, if you want the signup page to return to another web address after the customer finishes their registration, you'll want to modify this link with some additional parameters.


Your link will look something like:

https://guru.gyminsight.com/join/ABCDEFGHIJKLMNO  


To set up a redirect to another webpage, you'll want to add the return-URL parameter to the link.  Important - the return URL parameter must be URL encoded for it to work.  Here's an example, in which the customer would be taken to google.com after completing a registration:

https://guru.gyminsight.com/join/ABCDEFGHIJKLMNO?return-url=https%3A%2F%2Fwww.google.com


If you are familiar with JavaScript, you can use the encodeURIComponent function to produce this encoded parameter.

When this parameter is present,  the online membership page will redirect the customer to the address you provided after a short delay, so that the customer will be able to view the final confirmation message before the redirect happens.  If you'd like to make that delay longer or shorter, you can specify the return-sec parameter as well, which lets you control how long the delay will be.  Just specify the number of seconds you'd like the duration of the delay to be (0 for no delay at all).  Example:

https://guru.gyminsight.com/join/ABCDEFGHIJKLMNO?return-url=https%3A%2F%2Fwww.google.com&return-sec=2  

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.