Answered

Memberstack x Webflow x Typeform

  • 21 December 2021
  • 29 replies
  • 379 views

Userlevel 1
Badge

Is there anyone that has implemented Memberstack on a Webflow site, and Typeform as CTA-forms, and Segment as CDP? I’m trying to get the Memberstack ID passed to Typeform hidden fields, so I can send it on to Segment for event tracking. I’ve tried implement scripts like this, without any luck:

https://community.memberstack.com/c/tips-and-tricks/add-mulitple-hidden-fields-to-typeform-from-memberstack-fields

Every tool has good no-code qualities, so I imagine that there should be possible to find a solution without too much custom code.

/Espen 

icon

Best answer by mathio 27 December 2021, 13:52

View original

29 replies

Userlevel 2
Badge

Hi @DTTT, just catching up on this thread 🙂

It sounds like you want to pull in URL parameters from the webpage into your VideoAsk embed, is that correct?

That’s right. I was sort of hoping just to switch out all the references to Typeform and swap them for videoask as it’s the same company I figured this would be the same but it didn’t work 🤣

Userlevel 7
Badge +5

@DTTT Here’s a solution for passing URL parameters (specifically “utm_source” in this example) from the webpage into the VideoAsk widget embed URL.

 

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>

<script>

var url_string = window.location.href;
var url = new URL(url_string);
var utm_source = url.searchParams.get("utm_source");

window.VIDEOASK_EMBED_CONFIG = {
"kind": "widget",
"url": "YOUR_VIDEOASK_URL_HERE#utm_source=" + utm_source,
"options": {
"widgetType": "VideoThumbnailExtraLarge",
"text": "",
"backgroundColor": "#FA6B05",
"position": "bottom-right",
"dismissable": false
}
}
</script>
<script src="https://www.videoask.com/embed/embed.js"></script>

</body>
</html>

Let me know if this helps!

 
Userlevel 2
Badge

Thanks, I’m going to try this later in the week and I’ll let you know if it worked for me!

Userlevel 7
Badge +5

Let us know how it goes, @DTTT !

Reply