How can I extract value from <script>

(Marc Louie Cabigas) #1

Would id be possible to get this costume data-OrgIdValue=“6035” from the script and extract it.

< script>
src=“https://widget.flowxo.com/embed.js” data-OrgIdValue=“6035” data-fxo-widget=“eyJ0aGVtZSI6IiM2N2MxOGUiLCJ3ZWIiOnsiYm90SWQiOiI1YTUzMTMwYjc1ZWE0NzAwYWI0MDk4NzEiLCJ0aGVtZSI6IiM2N2MxOGUiLCJsYWJlbCI6Ik1lc3NhZ2UgQnJ1Y2UgTGVlIn0sIndlbGNvbWVUZXh0IjoiQ2xpY2sgbWUhIn0=” async defer>

(Karen Barker) #2

Hi Marc,

Unfortunately I don’t believe there is anyway to access this value on the script I’m afraid. What are you hoping to do with this afterwards? Using the API you can use the sendMessage(text, metadata) option to pass data into a flow.

1 Like