Visited web page filter [starts with] | Community
Skip to main content
New Participant
October 27, 2022
Solved

Visited web page filter [starts with]

  • October 27, 2022
  • 3 replies
  • 3118 views

Hi everyone, basically I have a website example.com/software/procurement/ and I have a smart list with filter of "Visited web page" [starts with]: example.com/software/ ONLY. May I know if my smart list is still able to capture anyone if they visited example.com/software/procurement/ ??

 

Looking forward for your favorable reply.

 

Thanks in advance.

Best answer by Darshil_Shah1

Yes, your SL should be able to capture any web page hits starting with the "https://example.com/software/" string in the constraint, and the link "https://example.com/software/procurement/"  does start with what you have in the SL.

 

The "contains" operator is a superset of the "starts with" operator. If the link that you want to trigger off the campaign upon web page visit is always guaranteed to start with a value, then you can very well use the "starts with" operator. And AFAIK, "contains" is always the slowest of all the operators. 🙂

 

3 replies

Katja_Keesom
Community Manager
October 31, 2022

In general the answers provided are correct, with the caveat that in my experience, web page visits are stored in the activity log without the protocol at the start, so you should remove the https:// in your value to make it work. Tripped me up more than a few times before I understood the logic...

Darshil_Shah1
Community Manager
October 31, 2022

Yes, that is true Katja, and thank you for mentioning it here! 

 

In Marketo, the Visits Web Page activity defines "Web Page" as the original hostname + pathname + hash, but not the protocol nor the query string.

 

For everyone's reference, here's the link to Sandy's comment where-in he explains this along with all the components of an URL in detail.

 

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
October 27, 2022

Yes, your SL should be able to capture any web page hits starting with the "https://example.com/software/" string in the constraint, and the link "https://example.com/software/procurement/"  does start with what you have in the SL.

 

The "contains" operator is a superset of the "starts with" operator. If the link that you want to trigger off the campaign upon web page visit is always guaranteed to start with a value, then you can very well use the "starts with" operator. And AFAIK, "contains" is always the slowest of all the operators. 🙂

 

yunseng94Author
New Participant
October 31, 2022

Hi Darshil, appreciate for your reply and your explanation on "starts with" filter. I believe you made a typo on the first link (should be  example.com/software/ ? ) 😃

Darshil_Shah1
Community Manager
October 31, 2022

Ahh, yes! I just updated it. Thank you for letting me know.

 

Disha_Goyal6
New Participant
October 27, 2022

Hi @yunseng94,

 

If you use 'contains' in place of 'starts with' works better.

 

Thanks,

Disha

yunseng94Author
New Participant
October 31, 2022

Thanks for the suggestion Disha