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

Fetching a eVar value against another eVar through Analytics API

Avatar

Avatar
Validate 1
Level 1
richar21092934
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
richar21092934
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
richar21092934
Level 1

23-08-2018

Hi all,

I need to fetch an eVar value against another eVar through Analytics API on postman. I am passing these eVars in the same request in Analytics call.

Is there any API request to achieve this kind of requirement?

Thanks in advance.

Richa

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

227 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

227 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

23-08-2018

Hi Richa,

Here is an example that you can use for you request:

{

  "reportDescription": {

    "reportSuiteID": "rsid",

    "dateFrom": "2018-08-22",

    "dateTo": "2018-08-22",

    "breakdownType": "subrelation",

    "sortBy": "visits",

    "elements": [

      {

        "id": "evar1",

        "top": 10,

        "startingWith": 1

      },

      {

        "id": "evar2",

        "top": 10,

        "startingWith": 1

      }

    ],

    "metrics": [

      {

        "id": "visits"

      }

    ]

  }

}

Answers (3)

Answers (3)

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

522 likes

Total Posts

1,020 posts

Correct Reply

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

Avatar
Coach
MVP
ursboller
MVP

Likes

522 likes

Total Posts

1,020 posts

Correct Reply

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

27-08-2018

you could use processing rules to populate another evar with combined values of the desired single evars (eg. [mid]|[customerid]) now use reporting to get realtime data of this combined evar value.

remark: I don't know if processing rules are before or after realtime data ...

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

227 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

227 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

24-08-2018

Don't think this is allowed in real time API requests. I have not played around with this. However, if you can setup the real time report in UI, you should be able to get the data through API

Avatar

Avatar
Validate 1
Level 1
richar21092934
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
richar21092934
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
richar21092934
Level 1

23-08-2018

Thanks for the quick response. Can this be real time?

Actually we are passing customerid in one evar(eVar1) and mid in another evar(eVar2). We want to fetch eVar2 value against eVar1 by passing eVar1 in request.

We will then use the fetched mid value in subsequent target API calls.

If there are any links or code to fulfill this request. It will be really helpful.