There might be situations where you want to send data from a 3rd party app to Outgrow. This can be achieved using the UTM parameters.
Let's suppose you want to send unique user id from your website to your Outgrow calculator.
There are three possible ways to achieve this-:
This can be achieved including the UTM parameters in the URL in the Embed code or in the URL where Outgrow experience is hosted:
initIframe('599739e60dacaefa74fdbdff');
This embed code can be modified to include the User id variable from your website or app.
initIframe('599739e60dacaefa74fdbdff');
USERID in this code above should be replaced with logged in User id field in your app. This is best for scenarios where you place the Outgrow quiz, calculator or poll in your app and is accessible to users who logs in.
The user id variable can also be captured from the direct URL of calculator/quiz/poll as well if included using UTM parameters
The user id variable can also be captured from your website URL where a calculator, quiz or poll is hosted
mywebsite.calculator.com?utm_source=website&utm_medium=quiz&utm_content=%24userid
The Webhooks or Integrations can then be setup to send user information including UTM data from either embedded quiz or calculator URL or Website URL to any compatible URL. Here's more information on how to send the data using Webhooks.