DmitrMakeev commited on
Commit
54b1fd5
1 Parent(s): 0d2f037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1099,9 +1099,9 @@ def gc_forms():
1099
  name_d = request.args.get('name', '')
1100
  email_d = request.args.get('email', '')
1101
  phone_d = request.args.get('phone', '')
1102
- pr1_d = request.args.get('pr1', '')
1103
- pr2_d = request.args.get('pr2', '')
1104
- pr3_d = request.args.get('pr3', '')
1105
 
1106
  # Формирование JSON
1107
  json_data = {
@@ -1119,8 +1119,8 @@ def gc_forms():
1119
  "refresh_if_exists": 1
1120
  },
1121
  "session": {
1122
- "utm_source": "",
1123
- "utm_medium": "",
1124
  "utm_content": "",
1125
  "utm_campaign": "",
1126
  "utm_group": "",
 
1099
  name_d = request.args.get('name', '')
1100
  email_d = request.args.get('email', '')
1101
  phone_d = request.args.get('phone', '')
1102
+ utm_source = request.args.get('utm_source', '')
1103
+ utm_medium = request.args.get('utm_medium', '')
1104
+ utm_content = request.args.get('utm_content', '')
1105
 
1106
  # Формирование JSON
1107
  json_data = {
 
1119
  "refresh_if_exists": 1
1120
  },
1121
  "session": {
1122
+ "utm_source": utm_source,
1123
+ "utm_medium": utm_medium,
1124
  "utm_content": "",
1125
  "utm_campaign": "",
1126
  "utm_group": "",