Skip to content

Instantly share code, notes, and snippets.

View boussouira's full-sized avatar

Ahmed boussouira

  • Morocco
View GitHub Profile
boussouira / track.html
Last active May 2, 2021 11:12
Fire Facebook Pixel with for Free+Shipping Shopify Products
{% 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 January 25, 2016 09:54 — 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 August 29, 2015 14:27 — 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