Marketing Integrations

GLittle9
Participante | Partner nivel Elite
Participante | Partner nivel Elite

View entire path in Contact / Activity / Page view?

resolver

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 Me gusta
1 Soluciones aceptada
GLittle9
Solución
Participante | Partner nivel Elite
Participante | Partner nivel Elite

View entire path in Contact / Activity / Page view?

resolver

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"

Ver la solución en mensaje original publicado

4 Respuestas 4
GLittle9
Solución
Participante | Partner nivel Elite
Participante | Partner nivel Elite

View entire path in Contact / Activity / Page view?

resolver

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
Administrador de la comunidad
Administrador de la comunidad

View entire path in Contact / Activity / Page view?

resolver

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
Administrador de la comunidad
Administrador de la comunidad

View entire path in Contact / Activity / Page view?

resolver

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
Participante | Partner nivel Elite
Participante | Partner nivel Elite

View entire path in Contact / Activity / Page view?

resolver

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 Me gusta