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.
I can do this with event based rules, so no data element is needed? event type: element exists Apply event handler directly to element (didn't check) Element Tag or Selector: img Checked "Manually assign properties & attributes" and added, property: src and value: 404_head.png (no regex) And I have to add some kind of rule?