Minor sendinblue tracking change

This commit is contained in:
Chaïb Martinez 2019-01-17 11:00:00 +01:00 committed by Mathieu Magnin
parent 72ec0a98f7
commit 51877c2247

View file

@ -7,14 +7,13 @@
})();
sendinblue.identify('#{current_administrateur.email}', {
'DS_NB_DEMARCHES_BROUILLLONS': '#{current_administrateur.procedures.brouillons.count}',
'DS_NB_DEMARCHES_BROUILLONS': '#{current_administrateur.procedures.brouillons.count}',
'DS_NB_DEMARCHES_ACTIVES': '#{current_administrateur.procedures.publiees.count}',
'DS_NB_DEMARCHES_ARCHIVES': '#{current_administrateur.procedures.archivees.count}',
'DS_SIGN_IN_COUNT' : '#{current_administrateur.sign_in_count}',
'DS_CREATED_AT' : '#{current_administrateur.created_at}',
'DS_ACTIVE' : '#{current_administrateur.active}',
'DS_ID' : '#{current_administrateur.id}'
// Dans l'ideal :
// 'nom' : //pour personnaliser les emails
// 'prenom' : //pour personnaliser les emails