Marketing Integrations

GLittle9
Member

View entire path in Contact / Activity / Page view?

SOLVE

When viewing a contact's Activity, I have a "Page view" tab that shows pages they have visited.  This is populated by the HubSpot tracking code in our SPA website using "setPath" and "trackPageView".

 

It is working very nicely.

 

However, in the list of page views, each one shows "Viewed [site name]".  If you hover the mouse over the site name, you can see the full path of the page they visited.

 

How can the full path of the page be displayed?  Showing 20 page views all saying the same thing is not very helpful. And hovering the mouse over each to see the actual page is time consuming!

0 Upvotes
1 Accepted solution
GLittle9
Solution
Member

View entire path in Contact / Activity / Page view?

SOLVE

It turns out that "trackPageView" automatically captures the current document title and includes it in the submission. So the SPA just needs to adjust the document.title before calling "trackPageView"

View solution in original post

4 Replies 4
GLittle9
Solution
Member

View entire path in Contact / Activity / Page view?

SOLVE

It turns out that "trackPageView" automatically captures the current document title and includes it in the submission. So the SPA just needs to adjust the document.title before calling "trackPageView"

MiaSrebrnjak
Community Manager
Community Manager

View entire path in Contact / Activity / Page view?

SOLVE

You figured it out yourself, you're awesome 🙂 Thank you for sharing the solution with the Community!

 

Cheers
Mia, Community Team 


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings

MiaSrebrnjak
Community Manager
Community Manager

View entire path in Contact / Activity / Page view?

SOLVE

Hi @GLittle9,

 

Thank you for reaching out to the Community! 

Just to clarify, by "full path of the page", do you mean the webpage's URL

It's currently not possible to display the URL of the webpage a contact viewed on their contact record. You could, however, use the following properties to see the URL of the first and the list page they visited:

Screenshot 2022-08-15 at 15.04.22.png

 

I hope this helps!

Cheers
Mia, Community Team


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings

GLittle9
Member

View entire path in Contact / Activity / Page view?

SOLVE

Thanks, Mia.  That is interesting.

 

However, the information is on the profile page but hidden inside the "href" attribute. I would like that to be displayed.

 

Or, when doing tracking and using "setPath" is there a way to push in the name of the page as well as the URL?

0 Upvotes