-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpermutive_call.js
More file actions
1 lines (1 loc) · 878 Bytes
/
Copy pathpermutive_call.js
File metadata and controls
1 lines (1 loc) · 878 Bytes
1
!function(t,e){e||(e=e||{},window.permutive=e,e.q=[],version="1.0",e.init=function(n,r,o){e.config={projectId:n,apiKey:r,environment:o||"production"};for(var i=["addon","defineEntities","events","identify","track","trigger","query","ready"],a=0;a<i.length;a++){var c=i[a];e[c]=function(t){return function(){var n=Array.prototype.slice.call(arguments,0);e.q.push({functionName:t,arguments:n})}}(c)}var p=t.createElement("script");p.type="text/javascript",p.async=!0;var s="https:"==t.location.protocol?"https://d3alqb8vzo7fun.cloudfront.net":"http://d3alqb8vzo7fun.cloudfront.net";"development"===o&&(s="https://s3.amazonaws.com/cdn.permutive.com"),p.src=s+"/"+n+"-"+version+".js";var u=t.getElementsByTagName("script")[0];u.parentNode.insertBefore(p,u)})}(document,window.permutive),permutive.init("7c8d17b7-1df0-42b7-8b40-bb5760cd81ec","8532f456-931c-40ee-ae16-1a21a7efe1fe");