What is the recommended way to construct a pageName schema using url pathnames?

Gold Contributor
Gold Contributor

I am looking for the recommended way to join pathname values together to create a pageName schema for my SiteCatalyst App Measurement tag. 

 

I am currently setting an extension to tokenize pathnames and then am using a second extension to join the values together using ":" as a delimiter. When I do this, however, I get a lot of unecessary instances of the ":" delimiter, particularly if I'm only one pathname deep. 

 

How do I ensure that the delimiter knows to not populate if pathname 2, 3, or 4 is not defined?

1 REPLY 1

What is the recommended way to construct a pageName schema using url pathnames?

Employee Emeritus

@andrea_kebalo

Make sure that what whatever you have in the "Join:" field and also the "and:" field of the Join Data Values extension is also in the Condition.

 

For the condition, you will want to make sure both of the values are "is populated"

 

Brian

Public