Skip to content

Commit

Permalink
chore: add promoted tagging object in search response
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Sep 5, 2023
1 parent a2f3bf5 commit df2ea04
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,11 @@ export const platformSearchResponse = {
id: '61f9223221c06701c2f98c17',
image_url: 'https://assets.empathy.co/images-demo/31335.jpg',
title: 'Promoted title',
url: 'https://assets.empathy.co/'
url: 'https://assets.empathy.co/',
tagging: {
click:
'https://api.staging.empathy.co/tagging/v1/track/empathy/click?q=jeans&lang=en&scope=desktop&title=promoted+title&productId=61f9223221c06701c2f98c17&position=1&page=1&url=https://assets.empathy.co/&follow=false&origin=url%3Aexternal&filtered=false&spellcheck=false'
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,20 @@ Object {
"tagging": Object {
"click": Object {
"params": Object {
"filtered": "false",
"follow": false,
"lang": "en",
"origin": "url:external",
"page": "1",
"position": "1",
"productId": "61f9223221c06701c2f98c17",
"q": "jeans",
"scope": "desktop",
"spellcheck": "false",
"title": "promoted title",
"url": "https://assets.empathy.co/",
},
"url": "",
"url": "https://api.staging.empathy.co/tagging/v1/track/empathy/click",
},
},
"title": "Promoted title",
Expand Down

0 comments on commit df2ea04

Please sign in to comment.