DmitrMakeev commited on
Commit
30313ba
1 Parent(s): 2df192a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -1103,7 +1103,9 @@ def gc_forms():
1103
  utm_source = request.args.get('utm_source', '')
1104
  utm_medium = request.args.get('utm_medium', '')
1105
  utm_content = request.args.get('utm_content', '')
1106
-
 
 
1107
  # Формирование JSON
1108
  json_data = {
1109
  "user": {
@@ -1122,10 +1124,10 @@ def gc_forms():
1122
  "session": {
1123
  "utm_source": utm_source,
1124
  "utm_medium": utm_medium,
1125
- "utm_content": "",
1126
- "utm_campaign": "",
1127
- "utm_group": "",
1128
- "gcpc": "",
1129
  "gcao": "",
1130
  "referer": ""
1131
  },
 
1103
  utm_source = request.args.get('utm_source', '')
1104
  utm_medium = request.args.get('utm_medium', '')
1105
  utm_content = request.args.get('utm_content', '')
1106
+ utm_campaign = request.args.get('utm_campaign', '')
1107
+ utm_group = request.args.get('utm_group', '')
1108
+ gcpc = request.args.get('gcpc', '')
1109
  # Формирование JSON
1110
  json_data = {
1111
  "user": {
 
1124
  "session": {
1125
  "utm_source": utm_source,
1126
  "utm_medium": utm_medium,
1127
+ "utm_content": utm_content,
1128
+ "utm_campaign": utm_campaign,
1129
+ "utm_group": utm_group,
1130
+ "gcpc": gcpc,
1131
  "gcao": "",
1132
  "referer": ""
1133
  },