Skip to content

Commit 1992090

Browse files
committed
Add event
1 parent e33ea4f commit 1992090

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/containers/post/RelatedPostsForGuest.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ function RelatedPostsForGuest({
8080
<h4>관심 있을 만한 포스트</h4>
8181
{postsWithAds.map((post, index) => {
8282
return post ? (
83-
<Row style={{ marginBottom: '-1.5rem' }}>
83+
<Row
84+
style={{ marginBottom: '-1.5rem' }}
85+
onClick={() => gtag('event', 'recommend_guest_click')}
86+
>
8487
<StyledRowLink
8588
to={`/@${post.user.username}/${post.url_slug}`}
8689
key={post.id ?? index}

0 commit comments

Comments
 (0)