Domain periods or FP Domain periods

Avatar

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
cathyw49544988
Level 4

25-10-2017

We will need to get the site section info from URL, previously we only have us site, then url like  http://xxxxxx.com/section1/product1, we can find the xxxxxx.com/, the word after that will be our site section. Then when we add the international sites, then our URL start to have something like:http://xxxxxx.com.uk/section1/product1.

I heard that Domain periods can help to solve this issue? Anyone knows how to use domain periods? Could I use it in data element?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

26-10-2017

Hi cathyw49544988​,

Site Section will be independent of the Page Domain and it can be easily retrieved using the object location.pathname on page.

Answers (3)

Answers (3)

Avatar

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
cathyw49544988
Level 4

26-10-2017

OK. then I will switch to get it from location.pathname.

Thanks

Avatar

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
cathyw49544988
Level 4

Likes

36 likes

Total Posts

155 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
cathyw49544988
Level 4

25-10-2017

We are still in the process of adding the international sites. So I don't have the URLs for you. General speaking, how do people handle the .uk .fr etc in the URL and get the site section info?

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

25-10-2017

Hi cathyw49544988​,

The cookieDomainPeriods configuration is used to determine the domain on which the Analytics cookies will be set.

What is the current approach/script using which the path is being retrieved on the US site? I believe a small update in the current method should resolve this.

If you can mention the current approach here and DM me the actual URLs I can have a look and try to suggest a solution