- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-27-2016 03:36 PM
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?
06-27-2016 04:04 PM
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
Copyright All Rights Reserved © 2008-2023