Skip to content

Commit

Permalink
Merge pull request #53 from stape-io/added-external_id-hashing
Browse files Browse the repository at this point in the history
added external_id hashing
  • Loading branch information
Bukashk0zzz authored Aug 15, 2024
2 parents a08fdd4 + d44d7be commit b15c3c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
homepage: 'https://stape.io/'
versions:
- sha: c34fd4739d50a95080ff35c2024f56d40a8c3986
changeNotes: Added external_id hashing.
- sha: 5ba35048c523c380b6ed2904a8354c1dd71ec0e1
changeNotes: Added common cookie support.
- sha: 1ab4ccc09f86a65f2e2256b862f2b47f851b9075
Expand Down
3 changes: 2 additions & 1 deletion template.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ function hashDataIfNeeded(mappedData) {
'ct',
'st',
'zp',
'country'
'country',
'external_id'
];
for (let key in mappedData.user_data) {
if (keysToHash.indexOf(key) !== -1) {
Expand Down
3 changes: 2 additions & 1 deletion template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,8 @@ function hashDataIfNeeded(mappedData) {
'ct',
'st',
'zp',
'country'
'country',
'external_id'
];
for (let key in mappedData.user_data) {
if (keysToHash.indexOf(key) !== -1) {
Expand Down

0 comments on commit b15c3c5

Please sign in to comment.