> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-variation-global-code.md).

# variation-global-code

## abtasty-cli web-experimentation variation-global-code push-js

#### NAME

`abtasty-cli web-experimentation variation-global-code push-js` - Push variation global js code

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code push-js [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [-c CODE | --code=CODE][--file FILE]`

#### DESCRIPTION

Push variation global js code

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code push-js -i VARIATION_ID --campaign-id CAMPAIGN_ID --code CODE
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

`--variation-id = _VARIATION_ID_`

#### FLAGS

`--code = _CODE_`

The new code to push into the variation

`--file = _FILE_`

The file that contains new code to push in the variation

***

## abtasty-cli web-experimentation variation-global-code push-css

#### NAME

`abtasty-cli web-experimentation variation-global-code push-css` - Push variation global css code

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code push-css [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [-c CODE | --code=CODE][--file FILE]`

#### DESCRIPTION

Push variation global css code

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code push-css -i VARIATION_ID --campaign-id CAMPAIGN_ID --code CODE
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

`--variation-id = _VARIATION_ID_`

#### FLAGS

`--code = _CODE_`

The new code to push into the variation

`--file = _FILE_`

The file that contains new code to push in the variation

## abtasty-cli web-experimentation variation-global-code get-js

#### NAME

`abtasty-cli web-experimentation variation-global-code get-js` - Get variation global js code

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code get-js [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get variation global js code

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code get-js -i VARIATION_ID --campaign-id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation you want to display

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

The output format for printing command output resources. The default is table. The supported formats are json-pretty, table, json.

`--create-file = _CREATE_FILE_`

Create a file that contains the variation global code extracted

`--override = _OVERRIDE_`

Override existing variation global code file

***

## abtasty-cli web-experimentation variation-global-code get-css

#### NAME

`abtasty-cli web-experimentation variation-global-code get-css` - Get variation global css code

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code get-css [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get variation global css code

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code get-css -i VARIATION_ID --campaign-id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation you want to display

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

The output format for printing command output resources. The default is table. The supported formats are json-pretty, table, json.

`--create-file = _CREATE_FILE_`

Create a file that contains the variation global code extracted

`--override = _OVERRIDE_`

Override existing variation global code file

## abtasty-cli web-experimentation variation-global-code info-js

#### NAME

`abtasty-cli web-experimentation variation-global-code info-js` - Get variation global js information

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code get-js [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get variation global js information

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code info-js -i VARIATION_ID --campaign-id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation you want to display

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

The output format for printing command output resources. The default is table. The supported formats are json-pretty, table, json.

***

## abtasty-cli web-experimentation variation-global-code info-css

#### NAME

`abtasty-cli web-experimentation variation-global-code info-css` - Get variation global css information

#### SYNOPSIS

`abtasty-cli web-experimentation variation-global-code info-css [-i VARIATION_ID | --id VARIATION_ID] [--campaign-id CAMPAIGN_ID] [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get variation global css information

#### EXAMPLES

```shell
abtasty-cli web-experimentation variation-global-code info-css -i VARIATION_ID --campaign-id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _VARIATION_ID_`

The ID of the variation you want to display

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

#### FLAGS

`--output-format = _OUTPUT_FORMAT_`

The output format for printing command output resources. The default is table. The supported formats are json-pretty, table, json.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-variation-global-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
