We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5863cd7 commit 695fc7bCopy full SHA for 695fc7b
1 file changed
src/cards/LobstersCard.js
@@ -54,7 +54,13 @@ const StoryItem = ({ item, index }) => {
54
<ClickableItem
55
link={item.comments_url}
56
className="rowItem rowItemClickable"
57
- analyticsSource={analyticsTag}>
+ analyticsAttributes={{
58
+ [Attributes.POINTS]: item.score,
59
+ [Attributes.TRIGERED_FROM]: 'card',
60
+ [Attributes.TITLE]: `${item.title} comments`,
61
+ [Attributes.LINK]: item.comments_url,
62
+ [Attributes.SOURCE]: 'lobsters',
63
+ }}>
64
<BiCommentDetail className="rowItemIcon" /> {item.comment_count} comments
65
</ClickableItem>
66
</div>
0 commit comments