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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Getting name of custom Link call (pev2)

Avatar

Level 3

Is there a way to access the name of the current custom link (pev2) call at a page level from the s_code?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Michael,

That would be rather difficult to obtain, as the custom link name is initiated when the s.tl() function fires. Once it fires, generally that means they clicked on something and you're on your way to a different page.

If you're firing an s.tl() function without navigating away from the page, I suppose you could access the returned image request asset and search for the pev2 query string. That's how the DigitalPulse Debugger works; using similar logic wouldn't be a problem.

---
If this answer was helpful, mark it with a 'heart'. If it answered your question, mark it correct.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi Michael,

That would be rather difficult to obtain, as the custom link name is initiated when the s.tl() function fires. Once it fires, generally that means they clicked on something and you're on your way to a different page.

If you're firing an s.tl() function without navigating away from the page, I suppose you could access the returned image request asset and search for the pev2 query string. That's how the DigitalPulse Debugger works; using similar logic wouldn't be a problem.

---
If this answer was helpful, mark it with a 'heart'. If it answered your question, mark it correct.