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

AA passing Visitor ID (mid) from querystring parameter to an eVar

Avatar

Avatar
Validate 1
Level 1
urvijag76854707
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
urvijag76854707
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
urvijag76854707
Level 1

07-08-2019

Hi

I have a single page application using react js. AA implementation is done using launch. The requirement is to track user behaviour on the site and combine it with offline data. Now i want to populate the Visitor ID into an eVar so that i can link it with the customer ID (hashed email value captured in a different eVar). Can some one please explain how we can pass the visitor ID(its available in querystring parameter as mid) into an evar.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
harish_kumar
Employee

Likes

14 likes

Total Posts

35 posts

Correct Reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Employee
harish_kumar
Employee

Likes

14 likes

Total Posts

35 posts

Correct Reply

13 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
harish_kumar
Employee

13-08-2019

As you mentioned that mid is available in querystring parameter, you can fetch the mid from querystring using function s.Util.getQueryParam and assign to evar.

Util.getQueryParam

Other method as suggested by Andrey, you can use eVar1="D=mid"; to pull the mid and assign it directly from analytics server call mid parameter to evar.

Answers (1)

Answers (1)

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

523 likes

Total Posts

943 posts

Correct Reply

254 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

523 likes

Total Posts

943 posts

Correct Reply

254 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

12-08-2019

eVar1="D=mid";