From 44b37936b599a3e1312bc02bc3946d8988efa15d Mon Sep 17 00:00:00 2001 From: Nonumpa Date: Mon, 14 Sep 2020 15:54:16 +0800 Subject: [PATCH 1/5] Track rss, and add utm_source to each url that generated from feed.js --- components/Subscribe/FeedDisplay.js | 18 ++++++++++-------- pages/api/articles/[feed].js | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/components/Subscribe/FeedDisplay.js b/components/Subscribe/FeedDisplay.js index 5099d88c..8f187f35 100644 --- a/components/Subscribe/FeedDisplay.js +++ b/components/Subscribe/FeedDisplay.js @@ -81,8 +81,6 @@ function FeedDisplay({ listQueryVars }) { handleClose(); }; - const encodedFeedUrl = encodeURIComponent(feedUrl); - return ( <>