When a contact visits our website, Hubspot generates a page view activity. Can I scrape the webpage title and record it in a property on the contact object?
For example, if they visit a page with the title of “Big League Baseball Glove” is there a way to store that title in a contact property called Last Product View?
Hi, @matt72 Welcome to our community! Thanks for the great question. My gut says we can solve this by using `document.title` to grab the title — MDN | Document: title
Hey @MatthiasWeber@albertsg@Indra, do you have a simple JavaScript example or tips on how you might handle a project like this you can share with @matt72?
That should get me pointed in the right direction. I’m not a programmer but I have fellow employees who are. I will run this by them. Thanks for your help!