Skip to content

Instantly share code, notes, and snippets.

View mayankguptadotcom's full-sized avatar
🏠
Working from home

Mayank Gupta mayankguptadotcom

🏠
Working from home
View GitHub Profile
@mayankguptadotcom
mayankguptadotcom / delayed-retargeting.js
Created July 31, 2017 19:18 — forked from rsiddle/delayed-retargeting.js
Hide Retargeting Cookies (Delayed Scripts)
/*
Description
Using the window.setTimeout function will allow you to hide retargeting cookies and execute them after 45 seconds.
This helps provide higher quality leads/audience. The example below shows Facebook's pixel tracker.
It could be used for other pixel tracking services too.
Case Study @ http://imscalable.com/blog/case-study-retargeting-done-wrong/
*/
// Facebook Code