Welcome Guest, Not a member yet? Register   Sign In
how to call this js?

I have been told that I need to call this js when I want a survey to appear. How can I call this from my controller? 
<script type="text/javascript">
  !function(e,t,r,n){if(!e[n]){for(var a=e[n]=[],i=["survey","reset","config","init","set","get","event","identify","track","page","screen","group","alias"],s=0;s<i.length;s++){var c=i[s];a[c]=a[c]||function(e){return function(){var t=Array.prototype.slice.call(arguments);a.push([e,t])}}(c)}a.SNIPPET_VERSION="1.0.1";var o=t.createElement("script");o.type="text/javascript",o.async=!0,o.src="https://d2yyd1h5u9mauk.cloudfront.net/integrations/web/v1/library/"+r+"/"+n+".js";var f=t.getElementsByTagName("script")[0];f.parentNode.insertBefore(o,f)}}(window,document,"123","delighted");

    email: "[email protected]", // customer email (optional)
    name: "Bailey Dixon",              // customer name (optional)
    recurringPeriod: "7890000",        // recurring period
    properties: {                      // extra context (optional)
      project: "PROJECT_NAME"
proof that an old dog can learn new tricks

Messages In This Thread
how to call this js? - by richb201 - 02-07-2022, 08:13 AM

Theme © iAndrew 2016 - Forum software by © MyBB