-
-
Save gunesacar/6de71057fc15074d94cda5c344b06cbb to your computer and use it in GitHub Desktop.
Snippet from the Adthink script https://web.archive.org/web/20171213055406/https://static.audienceinsights.net/t.js . See our blog post for more information: https://freedom-to-tinker.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
person: ["p", { | |
birthdate: ["b", m.B], | |
gender: ["g", function(a) { | |
return a in { | |
m: 1, | |
f: 1 | |
} | |
}], | |
nationality: ["n", m.multiple(m.h)], | |
aspect: ["as", { | |
height: ["h", m.g], | |
weight: ["w", m.g] | |
}], | |
appearance: ["a", { | |
bmi: ["b", m.L], | |
hair_color: ["hc", function(a) { | |
return a in { | |
black: 1, | |
brown: 1, | |
blond: 1, | |
auburn: 1, | |
chestnut: 1, | |
red: 1, | |
gray: 1, | |
white: 1 | |
} | |
}], | |
eye_color: ["ec", function(a) { | |
return a in { | |
amber: 1, | |
blue: 1, | |
brown: 1, | |
grey: 1, | |
green: 1 | |
} | |
}] | |
}], | |
language: ["l", m.multiple(m.h)], | |
age: ["ag", m.g, function(a, b) { | |
var c = new Date; | |
c.setFullYear(c.getFullYear() - a); | |
b.M = c.getFullYear() + "-" + (c.getMonth() + 1) + "-" + c.getDay() + " " + c.getHours() + ":" + c.getMinutes() + ":" + c.getSeconds() | |
}] | |
}], | |
interests: ["i", { | |
"declarative interests": ["d", m.multiple(m.h)], | |
"contextual interests": ["c", m.multiple(m.h)] | |
}, function(a) { | |
return "object" != typeof a || a instanceof Array ? { | |
"declarative interests": a | |
} : | |
a | |
}], | |
work: ["w", { | |
industry: ["i", m.h], | |
position: ["p", m.h], | |
education: ["e", function(a) { | |
return a in { | |
uneducated: 1, | |
elementary: 1, | |
"high school": 1, | |
bachelor: 1, | |
master: 1, | |
doctorate: 1 | |
} | |
}], | |
occupation: ["o", m.h], | |
category: ["c", m.h], | |
net_income: ["n", m.g], | |
raw_income: ["r", m.g] | |
}], | |
household: ["h", { | |
children: ["c", m.g], | |
relationship: ["r", { | |
status: ["s", function(a) { | |
return a in { | |
single: 1, | |
in_relationship: 1, | |
engaged: 1, | |
married: 1, | |
civil_union: 1, | |
divorced: 1, | |
widowed: 1 | |
} | |
}], | |
seek_for_gender: ["g", m.multiple(function(a) { | |
return a in { | |
m: 1, | |
f: 1, | |
transman: 1, | |
transwoman: 1, | |
couple: 1 | |
} | |
})], | |
seek_for_min_age: ["min", m.g], | |
seek_for_max_age: ["max", m.g] | |
}], | |
pets: ["p", { | |
cats: ["c", m.g], | |
dogs: ["d", m.g], | |
other: ["o", m.multiple(m.h)] | |
}], | |
income: ["i", m.g] | |
}], | |
location: ["l", { | |
postcode: ["p", m.h], | |
town: ["t", m.h], | |
state: ["s", m.h], | |
country: ["c", m.h] | |
}], | |
consumption: ["c", { | |
last_payment: ["lp", m.B], | |
loan: ["l", { | |
type: ["t", function(a) { | |
return a in { | |
student: 1, | |
vehicle: 1, | |
home: 1, | |
personal: 1, | |
cash: 1, | |
home_improvement: 1, | |
business: 1, | |
consolidation: 1 | |
} | |
}], | |
amount: ["a", m.g], | |
duration: ["d", m.g], | |
overindebted: ["o", m.F] | |
}], | |
insurance: ["i", { | |
type: ["t", function(a) { | |
return a in { | |
car: 1, | |
motorbike: 1, | |
home: 1, | |
pet: 1, | |
health: 1, | |
life: 1 | |
} | |
}] | |
}], | |
card_risk: ["cr", function(a) { | |
return a in { | |
chargeback: 1, | |
fraud_attempt: 1 | |
} | |
}], | |
has_car: ["hc", { | |
make: ["ma", m.h], | |
model: ["mo", m.h], | |
type: ["t", function(a) { | |
return a in { | |
sedan: 1, | |
compact: 1, | |
estate: 1, | |
van: 1, | |
suv: 1, | |
roadster: 1, | |
convertible: 1, | |
coupe: 1 | |
} | |
}], | |
registration: ["r", m.B], | |
model_year: ["my", m.g], | |
fuel_type: ["ft", function(a) { | |
return a in { | |
diesel: 1, | |
petrol: 1, | |
hybrid: 1, | |
electric: 1, | |
other: 1 | |
} | |
}] | |
}], | |
want_car: ["hc", { | |
make: ["ma", m.h], | |
model: ["mo", | |
m.h | |
], | |
type: ["t", function(a) { | |
return a in { | |
sedan: 1, | |
compact: 1, | |
estate: 1, | |
van: 1, | |
suv: 1, | |
roadster: 1, | |
convertible: 1, | |
coupe: 1 | |
} | |
}], | |
registration_starting_from: ["r", m.B], | |
min_price: ["mip", m.g], | |
max_price: ["map", m.g], | |
min_mileage: ["mim", m.g], | |
max_mileage: ["mam", m.g], | |
min_power: ["mipo", m.g], | |
max_power: ["mapo", m.g], | |
fuel_type: ["ft", function(a) { | |
return a in { | |
diesel: 1, | |
petrol: 1, | |
hybrid: 1, | |
electric: 1, | |
other: 1 | |
} | |
}] | |
}], | |
has_home: ["hh", { | |
ownership: ["o", function(a) { | |
return a in { | |
own: 1, | |
rent: 1 | |
} | |
}], | |
type: ["t", function(a) { | |
return a in { | |
house: 1, | |
apartment: 1, | |
loft: 1, | |
condo: 1, | |
townhome: 1, | |
lot: 1, | |
parking: 1, | |
office: 1 | |
} | |
}], | |
rooms: ["r", m.g], | |
size: ["s", m.g] | |
}], | |
want_home: ["wh", { | |
ownership: ["o", function(a) { | |
return a in { | |
buy: 1, | |
rent: 1 | |
} | |
}], | |
type: ["t", function(a) { | |
return a in { | |
house: 1, | |
apartment: 1, | |
loft: 1, | |
condo: 1, | |
townhome: 1, | |
lot: 1, | |
parking: 1, | |
office: 1 | |
} | |
}], | |
rooms_min: ["rmi", m.g], | |
rooms_max: ["rma", m.g], | |
beds_min: ["bmi", m.g], | |
beds_max: ["bma", m.g], | |
size_min: ["smi", m.g], | |
size_max: ["sma", m.g], | |
budget_min: ["bumi", m.g], | |
budget_max: ["buma", m.g] | |
}], | |
tobacco: ["t", m.F], | |
alcohol: ["a", m.F], | |
travel: ["tr", { | |
type: ["ty", | |
function(a) { | |
return a in { | |
"return": 1, | |
"one-way": 1 | |
} | |
} | |
], | |
from: ["f", m.h], | |
to: ["t", m.h], | |
departure: ["d", m.B], | |
"return": ["r", m.B], | |
adults: ["a", m.g], | |
seniors: ["s", m.g], | |
children: ["c", m.g], | |
infants: ["i", m.g], | |
direct: ["di", m.F], | |
main_airports: ["ma", m.F], | |
"class": ["cl", function(a) { | |
return a in { | |
economy: 1, | |
"premium economy": 1, | |
business: 1, | |
first: 1 | |
} | |
}], | |
hotel_rooms: ["hr", m.g], | |
property_type: ["pt", function(a) { | |
return a in { | |
hotel: 1, | |
hostel: 1, | |
apartment: 1, | |
"guest house": 1, | |
bnb: 1, | |
home: 1 | |
} | |
}], | |
car_hire_driver_age: ["da", m.g], | |
hotel_stars: ["hs", m.g] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment