Skip to content

Instantly share code, notes, and snippets.

@yolkmonday
Created January 16, 2024 07:58
Show Gist options
  • Select an option

  • Save yolkmonday/ac0cae62883eea457ca306b15f77cf19 to your computer and use it in GitHub Desktop.

Select an option

Save yolkmonday/ac0cae62883eea457ca306b15f77cf19 to your computer and use it in GitHub Desktop.
<script>!function(e,o){e.TiktokAnalyticsObject=o;var i=e[o]=e[o]||[];i.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],i.setAndDefer=function(e,t){e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}};for(var t=0;t<i.methods.length;t++)i.setAndDefer(i,i.methods[t]);i.instance=function(e){for(var t=i._i[e]||[],n=0;n<i.methods.length;n++)i.setAndDefer(t,i.methods[n]);return t},i.load=function(e,t){var n="https://analytics.tiktok.com/i18n/pixel/events.js";i._i=i._i||{},i._i[e]=[],i._i[e]._u=n,i._t=i._t||{},i._t[e]=+new Date,i._o=i._o||{},i._o[e]=t||{},(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src=n+"?sdkid="+e+"&lib="+o,(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(t,e)},i.load("CKSIPVJC77UBVPRADUPG"),i.page()}(window,(document,"ttq"));</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment