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

DTM: How to save 404 errors to pagename, eVar etc.

Avatar

Avatar
Contributor
Level 8
Antti_Ko
Level 8

Likes

270 likes

Total Posts

151 posts

Correct Reply

1 solution
Top badges earned
Contributor
Validate 10
Validate 1
Shape 25
Shape 1
View profile

Avatar
Contributor
Level 8
Antti_Ko
Level 8

Likes

270 likes

Total Posts

151 posts

Correct Reply

1 solution
Top badges earned
Contributor
Validate 10
Validate 1
Shape 25
Shape 1
View profile
Antti_Ko
Level 8

15-10-2015

If user goes to url that doesn't exist and then the browser gets status code 404 error aka page not found. If that happens, I would then like to save "errorpage" to s.pageName and the status code "404" to eVar5. Any ideas which would be the easiest or the best way to do this with dynamic tag management? I didn't see any rules for status codes in the "page load rules" section. Do I have to again (!) make some kind of custom script? Thanks for all the help.

View Entire Topic

Avatar

Avatar
Contributor
Level 8
Antti_Ko
Level 8

Likes

270 likes

Total Posts

151 posts

Correct Reply

1 solution
Top badges earned
Contributor
Validate 10
Validate 1
Shape 25
Shape 1
View profile

Avatar
Contributor
Level 8
Antti_Ko
Level 8

Likes

270 likes

Total Posts

151 posts

Correct Reply

1 solution
Top badges earned
Contributor
Validate 10
Validate 1
Shape 25
Shape 1
View profile
Antti_Ko
Level 8

15-10-2015

Thanks. Where can I find that "element exists"?