Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Where is s.pageName actually set

Avatar

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
revdovie
Level 1

26-04-2016

We're having an issue with s.pageName coming in mixed case. We really want to lowercase it. I've scoured everything I can think of to no avail. Where is this set so that I can make sure it's set to lowercase off the bat?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile

Avatar
Springboard
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

331 likes

Total Posts

2,247 posts

Correct Reply

811 solutions
Top badges earned
Springboard
Validate 500
Validate 250
Validate 100
Validate 50
View profile
jantzen_belliston-Adobe
Community Manager

23-12-2020

You could use the toLowerCase() JavaScript method in your implementation

https://www.w3schools.com/jsref/jsref_tolowercase.asp

 

Answers (6)

Answers (6)

Avatar

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
revdovie
Level 1

28-04-2016

Thanks for your help!

Avatar

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
Liam_Dilley
Level 1

27-04-2016

Moved to Adobe Analytics, not sure if this is the right place but hopefully someone here can help.

Avatar

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
revdovie
Level 1

27-04-2016

I tried finding the other forum. Could you point me in the right direction for that, please?

Avatar

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
Liam_Dilley
Level 1

27-04-2016

That is the Analytical product from Adobe and is not related to business Catalyst. So this will be the wrong forum for that.

Avatar

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
revdovie
Level 1

Likes

2 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
revdovie
Level 1

27-04-2016

The Adobe product we're using actually calls itself SiteCatalyst/Omniture. I think that's a version of BC, I'm not sure.

I realize now that I left out some details. We're having pageName use the default of the page URL. I know it's considered a bad practice, and I don't totally disagree, but that decision is above my pay grade and predates me, so I'm working with what I have.

Everything is getting filtered through Tealium and everything gets lowercased in Tealium but since pageName is getting pulled from the actual URL, that wasn't something that got lowercased in Tealium, and thus I'm getting mixed case results in my Pages reports.

I've seen a handful of places online that say to avoid this issue to simply lowercase s.pageName. I'd love to. I just can't figure out where the code is that actually SETS s.pageName. I know how to read/write code. I don't know where the file lives. I've looked in the SiteCatalyst template in Tealium and, while it references s.pageName, it doesn't tell me where it ever set it. I assume there's a JS file somewhere that I don't know about and once I find it, I can easily tack on a .toLowerCase(), but I need to find it first.

Thanks!

Avatar

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Liam_Dilley
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
Liam_Dilley
Level 1

26-04-2016

Hi there,

You need to explain a bit more then this. Is this a default BC template or a purchased one you are referring too? By default, there is no such thing as that you see in BC.

You asking where it is in the HTML, or the CSS, Javascript?