Skip to content

Commit

Permalink
Merge pull request #180 from fixthestatusquo/feature/cleverreachInteg…
Browse files Browse the repository at this point in the history
…ration

Cleverreach integration WIP
  • Loading branch information
1v4n4 authored Oct 18, 2024
2 parents 95fcd88 + cc2dc4d commit 0824230
Show file tree
Hide file tree
Showing 8 changed files with 759 additions and 363 deletions.
46 changes: 40 additions & 6 deletions data/event_doubleoptin.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,39 @@
{
"eventType": "email_status",
"schema": "proca:event:2",
"supporter": {
"action": {
"actionType": "register",
"createdAt": "2024-10-14T11:02:24Z",
"customFields": {
"emailProvider": "fixthestatusquo.org"
},
"testing": true,
"id": 4722132
},
"actionId": 4722132,
"actionPage": {
"locale": "de",
"name": "petition_xyz/de",
"supporterConfirmTemplate": null,
"thankYouTemplate": "petition_xyz_de",
"thankYouTemplateRef": null,
"id": 3120
},
"actionPageId": 3120,
"campaign": {
"contactSchema": "basic",
"externalId": null,
"name": "petition_x",
"title": "Petition X",
"id": 564
},
"campaignId": 564,
"eventType": "email_status",
"schema": "proca:event:2",
"supporter": {
"contact": {
"area": null,
"area": "DE",
"contactRef": "1E4HalXr1WJkKnaeSyOgI8zTG8cKMu-vgFzWqeICtxY",
"dupeRank": 4,
"email": "ivana@example.org",
"email": "brucewayne@example.org",
"firstName": "bruce"
},
"personalInfo": null,
Expand All @@ -18,5 +45,12 @@
"withConsent": false
}
},
"timestamp": "2024-09-30T16:17:36Z"
"timestamp": "2024-09-30T16:17:36Z",
"tracking": {
"campaign": "unknown",
"content": "",
"location": "https://widget.proca.app/d/petition_xyz/de/index.html",
"medium": "unknown",
"source": "unknown"
}
}
59 changes: 59 additions & 0 deletions data/hateaid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"action": {
"actionType": "register",
"createdAt": "2023-08-29T17:49:58Z",
"customFields": {"emailProvider": "icdn.be", "organisation": "Gotham"},
"testing": false
},
"actionId": 1,
"actionPage": {
"locale": "en",
"name": "hateaid_test/en",
"supporterConfirmTemplate": "confirm",
"thankYouTemplate": null,
"thankYouTemplateRef": null
},
"actionPageId": 2508,
"campaign": {
"contactSchema": "basic",
"externalId": 621987,
"name": "hateaid_test",
"title": "hateaid_test"
},
"campaignId": 3200,
"contact": {
"area": "ME",
"contactRef": "IMbguhq5qlyLHwzjxDCsJGGiLs472XUaMiVm2_IoR0E",
"country": "ME",
"dupeRank": 0,
"email": "[email protected]",
"firstName": "Bruce",
"lastName": "Wayne",
"locality": "Gotham",
"street": "Batcave 42",
"postcode": "10115",
"phone": "555-00000"
},
"org": {
"name": "x",
"title": "x"
},
"orgId": 1720,
"personalInfo": null,
"privacy": {
"emailStatus": "double_opt_in",
"emailStatusChanged": "2023-05-24T17:49:58Z",
"givenAt": "2023-05-24T17:49:58Z",
"optIn": true,
"withConsent": true
},
"schema": "proca:action:2",
"stage": "deliver",
"tracking": {
"campaign": "we.fixthestatusquo.org/",
"content": "",
"location": "https://widget.proca.app/d/petition_xyz/de/index.html?proca_test",
"medium": "we.fixthestatusquo.org",
"source": "referrer"
}
}
Loading

0 comments on commit 0824230

Please sign in to comment.