AA passing Visitor ID (mid) from querystring parameter to an eVar | Community
Skip to main content
urvijag76854707
Level 2
August 7, 2019
Solved

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

  • August 7, 2019
  • 2 replies
  • 2802 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by harish_kumar

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.

2 replies

Andrey_Osadchuk
Level 10
August 12, 2019

eVar1="D=mid";

harish_kumarAdobe EmployeeAccepted solution
Adobe Employee
August 14, 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.