Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5cd3a863
Commit
5cd3a863
authored
Mar 10, 2017
by
Simon Chen
Committed by
GitHub
Mar 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14668 from edx/schen/add_logging
Add logging for user cookie send for sailthru
parents
36be4b24
764ef483
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lms/djangoapps/email_marketing/signals.py
+5
-0
No files found.
lms/djangoapps/email_marketing/signals.py
View file @
5cd3a863
...
...
@@ -59,6 +59,11 @@ def add_email_marketing_cookies(sender, response=None, user=None,
try
:
sailthru_client
=
SailthruClient
(
email_config
.
sailthru_key
,
email_config
.
sailthru_secret
)
log
.
info
(
'Sending to Sailthru the user interest cookie [
%
s] for user [
%
s]'
,
post_parms
.
get
(
'cookies'
,
''
),
user
.
email
)
sailthru_response
=
\
sailthru_client
.
api_post
(
"user"
,
post_parms
)
except
SailthruClientError
as
exc
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment