Skip to content

Instantly share code, notes, and snippets.

@dapi
Created December 4, 2015 05:24
Show Gist options
  • Save dapi/6a9d61e95019b4f5666a to your computer and use it in GitHub Desktop.
Save dapi/6a9d61e95019b4f5666a to your computer and use it in GitHub Desktop.
Виджет для upload
<script type="text/javascript">
window.art=window.art||[],art.load=function(t,r){art.appId=t,art.config=r=r||{};var e=r.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src="http://cdn.1clickanalytics.ru/widget.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(t){return function(){art.push([t].concat(Array.prototype.slice.call(arguments,0)))}},c=["clearEventProperties","identify","setEventProperties","track","unsetEventProperty"],s=0;s<c.length;s++)art[c[s]]=o(c[s])},art.load("100003");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment