Skip to content

Including totals for specific element fails #90

@aperiodicchain

Description

@aperiodicchain

Hi,
I am trying to get totals for specific segments in multi-segment queries. This did not work in python-omniture (latest version) so I broke down my query into the most simple form to troubleshoot:

report = suite.report \
        .element('evar1', selected=['::total::','Europe','Asia']) \
        .metric('visits') \
        .run()

I am getting visits for Europe and Asia but instead of the total visits I get ::unspecified:: with 0 visits returned. Please note that the same query on Adobe API works just fine, i.e. I am getting a total-visits value:

"metrics": [
  {
	"id": "visits"
  }
],
"elements": [
  {
	"id": "evar1",
	"startingWith": 1,
	"selected": [
	  "::total::",
	  "Europe",
	  "Asia"
	]
  }
]

Can you please help me clarify what I am missing here?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions