Hi , Hope you’re well. We are looking for some help with a Hubspot form that will be embedded in a CMS page. Here is a step by step breakdown of how the journey will work from a visitor’s perspective:
• Visitor lands on page
• Visitor completes the form
• Visitor is redirected to a ‘Thank You’ page
• Link to asset is sent to the visitor via email From a Hubspot perspective we have a challenge. We are trying to minimise the number of forms that we need to create. The issue that we have currently is that the URL for the Thank You will be different for each site (due to the country folder part of the URL). Ideally we would like to create a form for each asset per language (we would need to create 4 versions) rather than by site (10 versions for each site). We have found a way to do this – by adding in a script into the embed code that looks at the URL of the page that the form is completed on and then redirects the visitor to the relevant ‘Thank You’ page. For example,
• FR Visitor o Visitor completes form on https://www.basware.com/fr-fr/ressources/2019-gartner-magic-quadrant-suite-p2p (same asset as above but different form due to FR form language) o Is redirected to https://www.basware.com/fr-fr/merci (simple redirection since only FR-FR uses FR language) o Asset link is emailed What we need you to do is to supply the additional script that can be added to the embed code to ensure that the visitor is redirected to the relevant Thank You page. Please let us know if you have any other questions. Kind regards