Skip to content

Commit d9559d0

Browse files
committed
changed the mixpanel property
1 parent 1bc4f4c commit d9559d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/templates/post.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ export default function Template({ data, pageContext }) {
1313
const { markdownRemark } = data // data.markdownRemark holds your post data
1414
const { frontmatter, html } = markdownRemark
1515
const { previous, next } = pageContext
16-
constants.track("App.Post.View", {
17-
postName: frontmatter.title,
18-
})
16+
constants.track(`App.Post.View:${frontmatter.title}`)
1917
return (
2018
<Layout>
2119
<SEO

0 commit comments

Comments
 (0)