Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command #9

Merged
merged 1 commit into from
Nov 16, 2016
Merged

command #9

merged 1 commit into from
Nov 16, 2016

Conversation

podhmo
Copy link
Contributor

@podhmo podhmo commented Nov 16, 2016

$ go get -v github.com/wcl48/gasegment/cmd/gasegment
$ echo "sessions::condition::ga:medium==referral"  | gasegment
{
  "name": "-",
  "sessionSegment": {
    "segmentFilters": [
      {
        "simpleSegment": {
          "orFiltersForSegment": [
            {
              "segmentFilterClauses": [
                {
                  "dimensionFilter": {
                    "dimensionName": "ga:medium",
                    "expressions": [
                      "referral"
                    ],
                    "operator": "EXACT"
                  }
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

@kyoh86
Copy link

kyoh86 commented Nov 16, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants