Get page name from url path using launch

Avatar

Avatar
Validate 1
Level 2
floriane3493069
Level 2

Likes

17 likes

Total Posts

28 posts

Correct reply

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

Avatar
Validate 1
Level 2
floriane3493069
Level 2

Likes

17 likes

Total Posts

28 posts

Correct reply

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

18-12-2019

Hi there,

 

I have a very simple Adobe Analytics implementatio using Adobe Launch. All I want is measuring page views of a certain page and using the url path as page name.

 

If landing page URL equals myexampletestpage.com set variable and send beacon.

Page Name comes from a data element using location.pathname to retrieve page name from url path.

 

Unfortunately it does not work. Do you have any ideas what is wrong with my set up?

 

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Shape 1
Level 3
franzli
Level 3

Likes

28 likes

Total Posts

26 posts

Correct reply

13 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Shape 1
Level 3
franzli
Level 3

Likes

28 likes

Total Posts

26 posts

Correct reply

13 solutions
Top badges earned
Shape 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
franzli
Level 3

08-01-2020

Screenshots would help enormously. 

 

There are some tips to debugging this:

  1. When you are on the landing page and in console log and you type the data layer :
    franzli_1-1578501690029.png

    Do you get a return with the page name?

 

_satellite.getVar("YOUR_DATA_ELEMENT_HERE");​

If yes, that's good. If not, then your data element is causing an issue.

 

Avatar

Avatar
Level 1
catherinekim
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
catherinekim
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
catherinekim
Level 1

18-12-2019

In the rule are you using the Condition Configuration with the "path without query string" option or are you using custom code?