Last active
November 11, 2015 15:35
-
-
Save fizruk/065ad6209e0337678f3d to your computer and use it in GitHub Desktop.
GetShopTV Analytics Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- GetShopTV Analytics --> | |
<script> | |
(function(t,e,n,s,a,c,i){t.GetShopTVAnalyticsObject=a,t[a]=t[a]||function(){ | |
(t[a].q=t[a].q||[]).push(arguments)},t[a].l=1*new Date,c=e.createElement(n), | |
i=e.getElementsByTagName(n)[0],c.async=1,c.src=s,i.parentNode.insertBefore(c,i) | |
})(window,document,"script","//api.getshop.tv/static/analytics.js","gst"); | |
</script> | |
<!-- END GetShopTV Analytics --> | |
<!-- Manually trigger GetShopTV events wherever applicable --> | |
gst({ea : "Buy"}) <!-- on "Buy" button --> | |
gst({ea : "Add to cart"}) <!-- on "Add to cart" button --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment