From 372c92c34a1025d113dfd2488a42d88e56d2a995 Mon Sep 17 00:00:00 2001 From: Robbie Date: Mon, 16 Dec 2024 13:06:23 +0000 Subject: [PATCH] feat: Add x.com and bump mobile app channel types (#26917) --- .../commands/create_channel_definitions_file.py | 4 ++++ .../models/channel_type/channel_definitions.json | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/posthog/management/commands/create_channel_definitions_file.py b/posthog/management/commands/create_channel_definitions_file.py index 6c254886084e4..8a62b6ec22588 100644 --- a/posthog/management/commands/create_channel_definitions_file.py +++ b/posthog/management/commands/create_channel_definitions_file.py @@ -231,6 +231,10 @@ def handle(self, *args, **options): # discord "discord.com", "discordapp.gg", + # twitter + "twitter.com", + "t.co", + "x.com", ): entries[(social_domain, EntryKind.source)] = SourceEntry("Social", "Paid Social", "Organic Social") diff --git a/posthog/models/channel_type/channel_definitions.json b/posthog/models/channel_type/channel_definitions.json index 9c0e31e46743b..3558859cd81af 100644 --- a/posthog/models/channel_type/channel_definitions.json +++ b/posthog/models/channel_type/channel_definitions.json @@ -47,6 +47,7 @@ ["com.alibaba.intl.android.apps.poseidon", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["com.alibaba.intl.android.apps.twa", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["com.alibaba.sourcing", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], + ["com.alibaba.sourcing.ent", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["m.alibaba.com", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["message.alibaba.com", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["offer.alibaba.com", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], @@ -62,6 +63,8 @@ ["amazon.co.uk", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["amazon.com", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["com.amazon.avod.thirdpartyclient", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], + ["com.amazon.kindle", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], + ["com.amazon.kindlefs", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["com.amazon.mp3", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["com.amazon.mshop.android.business.shopping", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["com.amazon.mshop.android.shopping", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], @@ -100,6 +103,11 @@ ["askubuntu", "source", "Social", "Paid Social", "Organic Social", false], ["askubuntu.com", "source", "Social", "Paid Social", "Organic Social", false], ["asmallworld.com", "source", "Social", "Paid Social", "Organic Social", false], + ["com.asmallworld.android", "source", "Social", "Paid Social", "Organic Social", true], + ["com.asmallworld.android_europa", "source", "Social", "Paid Social", "Organic Social", true], + ["com.asmallworld.android_ganymede", "source", "Social", "Paid Social", "Organic Social", true], + ["com.asmallworld.android_io", "source", "Social", "Paid Social", "Organic Social", true], + ["net.asmallworld.ios", "source", "Social", "Paid Social", "Organic Social", true], ["com.atebits.tweetie2", "source", "Social", "Paid Social", "Organic Social", true], ["athlinks", "source", "Social", "Paid Social", "Organic Social", false], ["athlinks.com", "source", "Social", "Paid Social", "Organic Social", false], @@ -130,6 +138,7 @@ ["bebo.com", "source", "Social", "Paid Social", "Organic Social", false], ["beforeitsnews", "source", "Social", "Paid Social", "Organic Social", false], ["beforeitsnews.com", "source", "Social", "Paid Social", "Organic Social", false], + ["ru.beru.android", "source", "Search", "Paid Search", "Organic Search", true], ["bharatstudent", "source", "Social", "Paid Social", "Organic Social", false], ["bharatstudent.com", "source", "Social", "Paid Social", "Organic Social", false], ["biglobe", "source", "Search", "Paid Search", "Organic Search", false], @@ -314,6 +323,8 @@ ["epicurious.com", "source", "Social", "Paid Social", "Organic Social", false], ["etsy", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["com.etsy.android", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], + ["com.etsy.butter.sell_on_etsy", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], + ["com.etsy.butter.sell_on_etsy.enterprise", "source", "Shopping", "Paid Shopping", "Organic Shopping", true], ["etsy.com", "source", "Shopping", "Paid Shopping", "Organic Shopping", false], ["everforo.com", "source", "Social", "Paid Social", "Organic Social", false], ["exalead.com", "source", "Search", "Paid Search", "Organic Search", false], @@ -341,6 +352,7 @@ ["com.facebook.pages.app", "source", "Social", "Paid Social", "Organic Social", true], ["com.facebook.scenes", "source", "Social", "Paid Social", "Organic Social", true], ["com.facebook.shoerack", "source", "Social", "Paid Social", "Organic Social", true], + ["com.facebook.stella", "source", "Social", "Paid Social", "Organic Social", true], ["com.facebook.stellaapp", "source", "Social", "Paid Social", "Organic Social", true], ["com.facebook.stellaapp.master", "source", "Social", "Paid Social", "Organic Social", true], ["com.facebook.wakizashi", "source", "Social", "Paid Social", "Organic Social", true], @@ -925,10 +937,12 @@ ["ning.com", "source", "Social", "Paid Social", "Organic Social", false], ["com.oath.yahooapp", "source", "Social", "Paid Social", "Organic Social", true], ["com.oculus.facebook", "source", "Social", "Paid Social", "Organic Social", true], + ["com.oculus.igvr", "source", "Social", "Paid Social", "Organic Social", true], ["odnoklassniki.ru", "source", "Social", "Paid Social", "Organic Social", false], ["ru.odnoklassniki.iphone", "source", "Social", "Paid Social", "Organic Social", true], ["odnoklassniki.ua", "source", "Social", "Paid Social", "Organic Social", false], ["ru.ok.android", "source", "Social", "Paid Social", "Organic Social", true], + ["ru.ok.dating", "source", "Social", "Paid Social", "Organic Social", true], ["ru.ok.live", "source", "Social", "Paid Social", "Organic Social", true], ["okwave.jp", "source", "Social", "Paid Social", "Organic Social", false], ["onesearch.com", "source", "Search", "Paid Search", "Organic Search", false], @@ -1350,6 +1364,7 @@ ["org.wordpress.android", "source", "Social", "Paid Social", "Organic Social", true], ["wordpress.org", "source", "Social", "Paid Social", "Organic Social", false], ["forums.wpcentral.com", "source", "Social", "Paid Social", "Organic Social", false], + ["x.com", "source", "Social", "Paid Social", "Organic Social", false], ["xanga", "source", "Social", "Paid Social", "Organic Social", false], ["xanga.com", "source", "Social", "Paid Social", "Organic Social", false], ["xing", "source", "Social", "Paid Social", "Organic Social", false], @@ -1457,6 +1472,7 @@ ["ru.yandex.mobile.yamb", "source", "Search", "Paid Search", "Organic Search", true], ["ru.yandex.mobile.zen", "source", "Search", "Paid Search", "Organic Search", true], ["ru.yandex.mobile.zen-enterprise", "source", "Search", "Paid Search", "Organic Search", true], + ["ru.yandex.music", "source", "Search", "Paid Search", "Organic Search", true], ["ru.yandex.rhythm", "source", "Search", "Paid Search", "Organic Search", true], ["ru.yandex.searchplugin", "source", "Search", "Paid Search", "Organic Search", true], ["ru.yandex.taxi", "source", "Search", "Paid Search", "Organic Search", true],