How to set the page name in adobe dtm?

Avatar

Avatar
Validate 1
Level 2
payald83920015
Level 2

Likes

4 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
payald83920015
Level 2

Likes

4 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
payald83920015
Level 2

08-08-2017

Hi,

I have one query regarding setting the correct page name in adobe dtm.

how to set the page in dtm , how i will proceed?

Please help me in steps.

Thanks,

pay

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,338 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,338 posts

Correct reply

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

14-08-2017

Hi Pay,

You'd need to use either CSS selectors or JSON to scrape that information from the page. Once you've gathered those values from the page, you can use javascript to combine them into whatever format you'd like. You can combine them in the custom section of the data element and return them as the value you are looking for, or you could use multiple data element to store each value and combine them in the rule using the custom section.

Thanks,
Jantzen

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 4
rameshk28785
Level 4

Likes

46 likes

Total Posts

76 posts

Correct reply

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

Avatar
Validate 1
Level 4
rameshk28785
Level 4

Likes

46 likes

Total Posts

76 posts

Correct reply

22 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
rameshk28785
Level 4

08-08-2017

There are a number of ways to set s.pageName for each page, In DTM, the conditions for your rules answer questions like: What’s the visitor doing? Where are they doing it? When is it happening? You can set any number of variables, trigger different tags or tools, and execute any number of scripts from within the same rule, as long as you want all those things to happen in response to the same conditions.

For example, if you want document.title to be the source for the value of the s.pageName variable, you could create a Data Element with a name of Page Name, a Type of JS Object, a Path of document.title, a Default Value of None, and Remember this value for Pageview.

Then, you could create a global Page Load rule and assign that Data Element to s.pageName, either in the interface, or in the Custom Editor code window. It will then be dynamically populated with the value of document.title for each page that meets your conditions.

Avatar

Avatar
Validate 1
Level 2
payald83920015
Level 2

Likes

4 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
payald83920015
Level 2

Likes

4 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
payald83920015
Level 2

08-08-2017

Hi Ramesh,

Thanks for your quick reply.

I need one more help, if my customer has set wring page name and they want me to set the correct page like -

Previously page name- product:product:1

New Requirement - model:abcd123 like this they want result.

In that case how i will proceed, how i will create the data element for those.

Please help asap.

Thanks,

pay