Skip to content

Instantly share code, notes, and snippets.

View Liscor's full-sized avatar
😊

Moritz Liscor

😊
View GitHub Profile
(async () => {
try {
const Botd = await import('https://openfpcdn.io/botd/v1');
const botd = await Botd.load();
const result = await botd.detect();
let window.gtm_botd = result;
console.log(result);
} catch (error) {
console.error(error);
-- Activate Change History for a BigQuery table
ALTER TABLE IF EXISTS
`XXX.analytics_XXX.events_20250113`
SET
OPTIONS(enable_change_history=TRUE)
-- Query Changes for a day maximum
select
parse_date('%Y%m%d',event_date) as event_date
,platform
,_change_type