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

LinkTracking Code?

Avatar

Avatar
Validate 10
Level 2
vitalin58577727
Level 2

Likes

15 likes

Total Posts

69 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vitalin58577727
Level 2

Likes

15 likes

Total Posts

69 posts

Correct Reply

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

25-01-2019

Hello

I'm trying to track the outbound links right now,

and a script contains the following code.

s.events=s.events?s.events:'';

s.linkTrackVars=s.linkTrackVars?s.linkTrackVars:'events';

s.linkTrackEvents=s.linkTrackEvents?s.linkTrackEvents:'event19,event20';

s.events+=",event20="+_satellite.getVar('ClickOutRevenue');

can someone tell me what the code is good for ?

Do I have to use the code if I want to track links?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

25-01-2019

hi

I try to give you some hints but you need to look in reportsuite settings for some more information. explanation line by line:

1) declare "events" if not set

2) declare "linktrackvars" if not set as recommended by Adobe

(remark: 1+2 are just a setup for next steps)

3) add custom events 19 + 20 to call (see RS setting what it is

4) set counter for event 20 to a value fetched from dataElement. see the corresponding dataElement what data it is

see here: s.linkTrackVars

according to the code I assume that you receive the following information

a) event19 just count how many clicks you have

b) event20 gives each click a value and counts it up (for each visitor)

having those two events allows further calculation, eg. "event20 / event19" is the average value of a click.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 10
Level 2
vitalin58577727
Level 2

Likes

15 likes

Total Posts

69 posts

Correct Reply

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

Avatar
Validate 10
Level 2
vitalin58577727
Level 2

Likes

15 likes

Total Posts

69 posts

Correct Reply

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

25-01-2019

Hello, Urs.

thank you for the answer.

This has helped me a lot:

danke!