Skip to content

Commit

Permalink
feat: Use utm_source to track new story map previous page
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Sep 22, 2023
1 parent 7bcd1ef commit f45e19f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/storyMap/components/StoryMapsCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const StoryMapsCard = ({ title, storyMaps, showCreate = true }) => {
() =>
showCreate && {
label: t('storyMap.home_create'),
to: 'tools/story-maps/new',
to: 'tools/story-maps/new?utm_source=home_page',
},
[t, showCreate]
);
Expand Down
2 changes: 1 addition & 1 deletion src/storyMap/components/StoryMapsHomeCardDefault.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const StoryMapsHomeCardDefault = () => {
titleId="story-maps-default-title"
action={{
label: t('storyMap.home_create'),
to: 'tools/story-maps/new',
to: 'tools/story-maps/new?utm_source=home_page',
}}
image={{
src: storyMapImage,
Expand Down
2 changes: 1 addition & 1 deletion src/storyMap/components/StoryMapsToolHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const StoryMapsToolsHome = () => {
<Button
variant="contained"
component={Link}
to="/tools/story-maps/new"
to="/tools/story-maps/new?utm_source=story_maps_tools_page"
sx={{ mt: 2, mb: 3 }}
>
{t('storyMap.tool_home_create_button')}
Expand Down

0 comments on commit f45e19f

Please sign in to comment.