Skip to content

Instantly share code, notes, and snippets.

@besmo
besmo / FB Pixel
Created Oct 9, 2017
Appspot.com Filter in Facebook Pixel
View FB Pixel
<script>
if (document.location.href.search('appspot.com') == -1) {
//YOUR FACEBOOK CODE
}
</script>
@besmo
besmo / scrolldepht.js
Created Jan 10, 2017
Tag Manager - Scroll Tracking JavaScript
View scrolldepht.js
<script>
/*!
* @preserve
* jquery.scrolldepth.js | v0.4.1
* Copyright (c) 2014 Rob Flaherty (@robflaherty)
* Licensed under the MIT and GPL licenses.
*/
;(function ( $, window, document, undefined ) {
"use strict";