Skip to content

Instantly share code, notes, and snippets.


Ahmed Saidi boussouira

  • Morocco
View GitHub Profile
boussouira / track.html
Last active Mar 4, 2018
Fire Facebook Pixel with for Free+Shipping Shopify Products
View track.html
{% if first_time_accessed %}
var patchedTrack = function(type, data) {
data.revenue = "{{order.total_price | money_without_currency}}";
window.ShopifyAnalytics.lib.track2(type, data);
function patchTrack() {
if (window.ShopifyAnalytics &&
window.ShopifyAnalytics.lib &&

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.



  • zh-CN and zh-TW translations from @tianshuo.
  • de translation from @mpbzh.
boussouira /
Created Jan 25, 2016 — forked from teffalump/
OpenWRT adblock implementation

Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script:


In its basic usage, this script will modify the router such that blocked addresses are null routed and unreachable. Since the address blocklist is full of advertising, malware, and tracking servers, this setup is generally a good thing. In addition, the router will update the blocklist weekly. However, the blocking is leaky, so do not expect everything to be blocked.

boussouira /
Last active Aug 29, 2015 — forked from dwayne/
My notes from the book "Authority by Nathan Barry".


A Step-By-Step Guide To Self-Publishing

Become an expert, build a following, and gain financial independence.

by Nathan Barry

Table of Contents

You can’t perform that action at this time.