Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update tinybird

Steven Tey2f1503f647f3
diff --git a/packages/tinybird/datasources/dub_click_events.datasource b/packages/tinybird/datasources/dub_click_events.datasource
index 17b5f8b1b1..8f12d1ef36 100644
--- a/packages/tinybird/datasources/dub_click_events.datasource
+++ b/packages/tinybird/datasources/dub_click_events.datasource
@@ -5,6 +5,7 @@ SCHEMA >
`link_id` String `json:$.link_id`,
`alias_link_id` String `json:$.alias_link_id`,
`url` String `json:$.url`,
+ `continent` LowCardinality(String) `json:$.continent`,
`country` LowCardinality(String) `json:$.country`,
`city` String `json:$.city`,
`region` String `json:$.region`,
diff --git a/packages/tinybird/datasources/dub_click_events_id.datasource b/packages/tinybird/datasources/dub_click_events_id.datasource
index fc786c9275..ea17836266 100644
--- a/packages/tinybird/datasources/dub_click_events_id.datasource
+++ b/packages/tinybird/datasources/dub_click_events_id.datasource
@@ -6,6 +6,7 @@ SCHEMA >
`link_id` String,
`alias_link_id` String,
`url` String,
+ `continent` LowCardinality(String),
`country` LowCardinality(String),
`city` String,
`region` String,
diff --git a/packages/tinybird/datasources/dub_click_events_mv.datasource b/packages/tinybird/datasources/dub_click_events_mv.datasource
index 2da156a792..f29561af30 100644
--- a/packages/tinybird/datasources/dub_click_events_mv.datasource
+++ b/packages/tinybird/datasources/dub_click_events_mv.datasource
@@ -5,6 +5,7 @@ SCHEMA >
`click_id` String,
`link_id` String,
`url` String,
+ `continent` LowCardinality(String),
`country` LowCardinality(String),
`city` String,
`device` LowCardinality(String),
diff --git a/packages/tinybird/datasources/dub_lead_events.datasource b/packages/tinybird/datasources/dub_lead_events.datasource
index 0f46d81e3a..ca40d6f3b7 100644
--- a/packages/tinybird/datasources/dub_lead_events.datasource
+++ b/packages/tinybird/datasources/dub_lead_events.datasource
@@ -2,11 +2,11 @@ SCHEMA >
`timestamp` DateTime64(3) `json:$.timestamp` DEFAULT now(),
`event_id` String `json:$.event_id`,
`event_name` String `json:$.event_name`,
- `metadata` String `json:$.metadata`,
`customer_id` String `json:$.customer_id`,
`click_id` String `json:$.click_id`,
`link_id` String `json:$.link_id`,
`url` String `json:$.url`,
+ `continent` LowCardinality(String) `json:$.continent`,
`country` LowCardinality(String) `json:$.country`,
`city` String `json:$.city`,
`region` String `json:$.region`,
@@ -27,7 +27,8 @@ SCHEMA >
`referer` String `json:$.referer`,
`referer_url` String `json:$.referer_url`,
`ip` String `json:$.ip`,
- `qr` UInt8 `json:$.qr`
+ `qr` UInt8 `json:$.qr`,
+ `metadata` String `json:$.metadata`
ENGINE "MergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(timestamp)"
diff --git a/packages/tinybird/datasources/dub_lead_events_mv.datasource b/packages/tinybird/datasources/dub_lead_events_mv.datasource
index 7196fd1235..82e5ee4da9 100644
--- a/packages/tinybird/datasources/dub_lead_events_mv.datasource
+++ b/packages/tinybird/datasources/dub_lead_events_mv.datasource
@@ -5,8 +5,8 @@ SCHEMA >
`link_id` String,
`customer_id` String,
`event_name` LowCardinality(String),
- `metadata` String,
`url` String,
+ `continent` LowCardinality(String),
`country` LowCardinality(String),
`city` String,
`device` LowCardinality(String),
@@ -14,7 +14,8 @@ SCHEMA >
`os` LowCardinality(String),
`referer` String,
`qr` UInt8,
- `ip` String
+ `ip` String,
+ `metadata` String
ENGINE "MergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(timestamp)"
diff --git a/packages/tinybird/datasources/dub_sale_events.datasource b/packages/tinybird/datasources/dub_sale_events.datasource
index d40fc37071..d0d0f44e6b 100644
--- a/packages/tinybird/datasources/dub_sale_events.datasource
+++ b/packages/tinybird/datasources/dub_sale_events.datasource
@@ -7,10 +7,10 @@ SCHEMA >
`invoice_id` String `json:$.invoice_id`,
`amount` UInt32 `json:$.amount`,
`currency` LowCardinality(String) `json:$.currency`,
- `metadata` String `json:$.metadata`,
`click_id` String `json:$.click_id`,
`link_id` String `json:$.link_id`,
`url` String `json:$.url`,
+ `continent` LowCardinality(String) `json:$.continent`,
`country` LowCardinality(String) `json:$.country`,
`city` String `json:$.city`,
`region` String `json:$.region`,
@@ -31,7 +31,8 @@ SCHEMA >
`referer` String `json:$.referer`,
`referer_url` String `json:$.referer_url`,
`ip` String `json:$.ip`,
- `qr` UInt8 `json:$.qr`
+ `qr` UInt8 `json:$.qr`,
+ `metadata` String `json:$.metadata`
ENGINE "MergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(timestamp)"
diff --git a/packages/tinybird/datasources/dub_sale_events_mv.datasource b/packages/tinybird/datasources/dub_sale_events_mv.datasource
index f9b708c54f..423871bf0c 100644
--- a/packages/tinybird/datasources/dub_sale_events_mv.datasource
+++ b/packages/tinybird/datasources/dub_sale_events_mv.datasource
@@ -9,6 +9,7 @@ SCHEMA >
`invoice_id` String,
`amount` UInt32,
`url` String,
+ `continent` LowCardinality(String),
`country` LowCardinality(String),
`city` String,
`device` LowCardinality(String),
diff --git a/packages/tinybird/pipes/dub_click_events_pipe.pipe b/packages/tinybird/pipes/dub_click_events_pipe.pipe
index 645aef9f02..ba7183224e 100644
--- a/packages/tinybird/pipes/dub_click_events_pipe.pipe
+++ b/packages/tinybird/pipes/dub_click_events_pipe.pipe
@@ -6,6 +6,7 @@ SQL >
click_id,
link_id,
url,
+ continent,
country,
city,
device,
diff --git a/packages/tinybird/pipes/dub_lead_events_pipe.pipe b/packages/tinybird/pipes/dub_lead_events_pipe.pipe
index 00996cf19a..388987c23f 100644
--- a/packages/tinybird/pipes/dub_lead_events_pipe.pipe
+++ b/packages/tinybird/pipes/dub_lead_events_pipe.pipe
@@ -10,6 +10,7 @@ SQL >
event_name,
metadata,
url,
+ continent,
country,
city,
device,
diff --git a/packages/tinybird/pipes/dub_sale_events_pipe.pipe b/packages/tinybird/pipes/dub_sale_events_pipe.pipe
index f79e69ce18..2cf649fcd2 100644
--- a/packages/tinybird/pipes/dub_sale_events_pipe.pipe
+++ b/packages/tinybird/pipes/dub_sale_events_pipe.pipe
@@ -12,6 +12,7 @@ SQL >
invoice_id,
amount,
url,
+ continent,
country,
city,
device,
diff --git a/packages/tinybird/pipes/v1_browsers.pipe b/packages/tinybird/pipes/v1_browsers.pipe
index 0a8f18b7c0..31d7e5c85b 100644
--- a/packages/tinybird/pipes/v1_browsers.pipe
+++ b/packages/tinybird/pipes/v1_browsers.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -126,6 +128,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_cities.pipe b/packages/tinybird/pipes/v1_cities.pipe
index b0b475af69..632e84fa9a 100644
--- a/packages/tinybird/pipes/v1_cities.pipe
+++ b/packages/tinybird/pipes/v1_cities.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -126,6 +128,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_count.pipe b/packages/tinybird/pipes/v1_count.pipe
index 70992d00bd..4c81b6d1da 100644
--- a/packages/tinybird/pipes/v1_count.pipe
+++ b/packages/tinybird/pipes/v1_count.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -87,6 +88,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -122,6 +124,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_countries.pipe b/packages/tinybird/pipes/v1_countries.pipe
index 2e866cc00e..37960f4725 100644
--- a/packages/tinybird/pipes/v1_countries.pipe
+++ b/packages/tinybird/pipes/v1_countries.pipe
@@ -50,6 +50,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -87,6 +88,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -124,6 +126,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_devices.pipe b/packages/tinybird/pipes/v1_devices.pipe
index 1abae40466..43efe002de 100644
--- a/packages/tinybird/pipes/v1_devices.pipe
+++ b/packages/tinybird/pipes/v1_devices.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -126,6 +128,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_events.pipe b/packages/tinybird/pipes/v1_events.pipe
index 0667f45285..f10c1cd926 100644
--- a/packages/tinybird/pipes/v1_events.pipe
+++ b/packages/tinybird/pipes/v1_events.pipe
@@ -43,6 +43,7 @@ SQL >
{% elif defined(workspaceId) %} AND link_id IN (SELECT link_id FROM workspace_links)
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -90,6 +91,7 @@ SQL >
{% elif defined(workspaceId) %} AND link_id IN (SELECT link_id FROM workspace_links)
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -140,6 +142,7 @@ SQL >
{% elif defined(workspaceId) %} AND dse.link_id IN (SELECT link_id FROM workspace_links)
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_os.pipe b/packages/tinybird/pipes/v1_os.pipe
index 4f5fed5806..95e91941fc 100644
--- a/packages/tinybird/pipes/v1_os.pipe
+++ b/packages/tinybird/pipes/v1_os.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -126,6 +128,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_referers.pipe b/packages/tinybird/pipes/v1_referers.pipe
index cdf9a2420e..bc477f9eba 100644
--- a/packages/tinybird/pipes/v1_referers.pipe
+++ b/packages/tinybird/pipes/v1_referers.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -126,6 +128,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_timeseries.pipe b/packages/tinybird/pipes/v1_timeseries.pipe
index 6ee1ed1799..140dbcf2d6 100644
--- a/packages/tinybird/pipes/v1_timeseries.pipe
+++ b/packages/tinybird/pipes/v1_timeseries.pipe
@@ -135,6 +135,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -197,6 +198,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -263,6 +265,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_top_links.pipe b/packages/tinybird/pipes/v1_top_links.pipe
index 96adda753b..cfaed1bb5e 100644
--- a/packages/tinybird/pipes/v1_top_links.pipe
+++ b/packages/tinybird/pipes/v1_top_links.pipe
@@ -42,6 +42,7 @@ SQL >
WHERE
true
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -96,6 +97,7 @@ SQL >
WHERE
true
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_top_urls.pipe b/packages/tinybird/pipes/v1_top_urls.pipe
index a965671259..043c58304e 100644
--- a/packages/tinybird/pipes/v1_top_urls.pipe
+++ b/packages/tinybird/pipes/v1_top_urls.pipe
@@ -21,6 +21,7 @@ SQL >
)
}}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -52,6 +53,7 @@ SQL >
)
}}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -83,6 +85,7 @@ SQL >
)
}}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
diff --git a/packages/tinybird/pipes/v1_trigger.pipe b/packages/tinybird/pipes/v1_trigger.pipe
index 9e429dbc60..ffee74a8c7 100644
--- a/packages/tinybird/pipes/v1_trigger.pipe
+++ b/packages/tinybird/pipes/v1_trigger.pipe
@@ -52,6 +52,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -89,6 +90,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}
@@ -129,6 +131,7 @@ SQL >
}}
{% end %}
{% if defined(qr) %} AND qr = {{ Boolean(qr) }} {% end %}
+ {% if defined(continent) %} AND continent = {{ continent }} {% end %}
{% if defined(country) %} AND country = {{ country }} {% end %}
{% if defined(city) %} AND city = {{ city }} {% end %}
{% if defined(device) %} AND device = {{ device }} {% end %}