Skip to content

Commit

Permalink
Merge pull request #545 from gladly-team/spicer/nov-shop-install-promo
Browse files Browse the repository at this point in the history
Fixed getting started button
  • Loading branch information
spicermatthews authored Nov 15, 2023
2 parents 739f1f0 + 1acc3e3 commit 06093ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/promos/November2023NoShopUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Typography from '@material-ui/core/Typography'
import IconButton from '@material-ui/core/IconButton'
import CloseIcon from '@material-ui/icons/Close'
import localStorageMgr from 'src/utils/localstorage-mgr'
import { windowOpenTop } from 'src/utils/navigation'
import { NOTIF_DISMISS_PREFIX } from 'src/utils/constants'

const contStyles = {
Expand All @@ -34,6 +35,13 @@ const November2023NoShopUser = ({ user }) => {
return false
}

const buttonClick = () => {
// gtag('event', 'group_impact_sidebar', {
// interaction: 'click_shop_upsell',
// })
windowOpenTop('http://shop.gladly.io')
}

useEffect(() => {
const dissNotif =
localStorageMgr.getItem(getNotifDismissKey('november-2023-no-shop')) ||
Expand Down Expand Up @@ -103,6 +111,7 @@ const November2023NoShopUser = ({ user }) => {
</Typography>

<Button
onClick={buttonClick}
variant="contained"
color="primary"
style={{
Expand Down

1 comment on commit 06093ef

@vercel
Copy link

@vercel vercel bot commented on 06093ef Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.