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

Using existing context data to populate eVars/ probs using launch

Avatar

Avatar
Validate 1
Level 1
c1553
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
c1553
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
c1553
Level 1

04-10-2020

Hi all,

 

New to launch so apologies if this is a basic question!  Is there a way to use context data that already exists to populate eVars and props using adobe launch rather than the Analytics interface?

 

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Seeker
Level 3
jkm-disco
Level 3

Likes

24 likes

Total Posts

127 posts

Correct Reply

15 solutions
Top badges earned
Seeker
Contributor
Shape 1
Give Back
Affirm 10
View profile

Avatar
Seeker
Level 3
jkm-disco
Level 3

Likes

24 likes

Total Posts

127 posts

Correct Reply

15 solutions
Top badges earned
Seeker
Contributor
Shape 1
Give Back
Affirm 10
View profile
jkm-disco
Level 3

05-10-2020

There are many benefits, flexibility, and conveniences for other projects/developers to just continue using context data and using the Analytics processing to do the mapping, as @yuhuisg suggests.

 

However, to answer your question, it is relatively simple to set the variables directly in custom code (probably within the same rule as the beacon fire):

First, make sure the s object is set globally in the Analytics extension and then write custom code before firing the beacon that appears as the following:

 

 

s.propn = s.contextData["exampleDatan"];
s.evarn = s.contextData["moreExampleDatan"];

 

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

195 likes

Total Posts

596 posts

Correct Reply

118 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

195 likes

Total Posts

596 posts

Correct Reply

118 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile
yuhuisg
MVP

05-10-2020

I haven't tried it myself, but I suppose it can be done.

On the other hand, context data is meant to be used with Analytics directly. So you need to consider if your future self or your successor(s) will be able to remember how you're using context data with Launch instead.