CMS Development

benji_thecroc
Contributor | Gold Partner
Contributor | Gold Partner

Read or unread label

Hi,

 

Is there anyway to mark a blog post in the listing with a 'read' or 'unread' label. If an existing customer/prospect has viewed the blog article would it be possible to mark that post?

 

Alternatively could you take the date a customer last visited the site/blog and then create a divider or container in the list template that seperates any blogs published after that date and blogs before that date. The divider or container could be a message such as "Here's what you've missed".

 

Thanks,

Benji

0 Upvotes
2 Replies 2
lgerodiaz
Contributor

Read or unread label

Hi Benji,

 

The second one is very plausible using HubSpot's HubL tags, I'd very much like to demonstrate this by creating a sample page, but it's a bit tricky since it would involve the contact's last time of visit.

 

L

0 Upvotes
benji_thecroc
Contributor | Gold Partner
Contributor | Gold Partner

Read or unread label

@lgerodiazThanks, this is what I was thinking too however I wasn;t sure how to use the contact properties API within HubSpot templates. I was wondering if there was a more integrated approach or if the API is the only viable method here.

 

Thanks

0 Upvotes