|
@@ -106,7 +106,9 @@ def main():
|
|
|
#(FB_|facebook|IG_|LINE_|LINEMP_|qsear.ch)
|
|
|
|
|
|
body=[{ 'viewId': VIEW_ID,
|
|
|
- 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-18'}],
|
|
|
+# 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-18'}],
|
|
|
+ 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-25'}],
|
|
|
+
|
|
|
# 'filtersExpression': 'ga:sourceMedium=~(FB_|facebook|IG_|LINE_|LINEMP_|qsear.ch)',
|
|
|
'filtersExpression': 'ga:sourceMedium=~(FB_|facebook|IG_|LINE_|LINEMP_|qsear.ch)',
|
|
|
'metrics': [{'expression': 'ga:users'},{'expression': 'ga:newusers'},{'expression': 'ga:sessions'},{'expression': 'ga:pageviews'},{'expression': 'ga:bounceRate'},{'expression': 'ga:pageviewsPerSession'}],
|
|
@@ -121,7 +123,8 @@ def main():
|
|
|
|
|
|
body=[{ 'viewId': VIEW_ID,
|
|
|
# 'dateRanges': [{'startDate': '2021-05-24', 'endDate': '2021-06-10'}],
|
|
|
- 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-18'}],
|
|
|
+# 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-18'}],
|
|
|
+ 'dateRanges': [{'startDate': '2021-05-31', 'endDate': '2021-06-25'}],
|
|
|
|
|
|
# 'filtersExpression': 'ga:sourceMedium=~(FB_|facebook|IG_|LINE_|LINEMP_|qsear.ch)',
|
|
|
'filtersExpression': 'ga:sourceMedium!~(FB_|facebook|IG_|LINE_|LINEMP_|qsear.ch)',
|