-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TM-12848 Tag Manager for release 18.1.0
- Loading branch information
Oskar Barcz
committed
Sep 5, 2023
1 parent
719576e
commit 7e41500
Showing
23 changed files
with
451 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...zed_api/src/tags/schema/tag_templates/ecommerce/ecommerce_add_to_cart_attributes_get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"definitions": { | ||
"template": { | ||
"$ref": "../../tag_attributes.json#/definitions/template", | ||
"enum": [ | ||
"ecommerce_add_to_cart" | ||
] | ||
}, | ||
"template_options": { | ||
"type": "object", | ||
"properties": { | ||
"product_mapping": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/product_mapping", | ||
"description": "Product mapping" | ||
}, | ||
"category_mapping_type": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/category_mapping_type" | ||
}, | ||
"category_mapping": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/category_mapping" | ||
}, | ||
"products_array": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/products_array" | ||
}, | ||
"product_dimensions": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/product_dimensions" | ||
}, | ||
"custom_dimensions": { | ||
"$ref": "../piwik_base_attributes.json#/definitions/custom_dimensions" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"product_mapping", | ||
"category_mapping_type", | ||
"products_array", | ||
"product_dimensions", | ||
"custom_dimensions" | ||
] | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...r/authorized_api/src/tags/schema/tag_templates/ecommerce/ecommerce_common_attributes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
...uthorized_api/src/tags/schema/tag_templates/ecommerce/ecommerce_order_attributes_get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"definitions": { | ||
"template": { | ||
"$ref": "../../tag_attributes.json#/definitions/template", | ||
"enum": [ | ||
"ecommerce_order" | ||
] | ||
}, | ||
"template_options_order": { | ||
"type": "object", | ||
"description": "Order details", | ||
"properties": { | ||
"order_id": { | ||
"type": "string", | ||
"description": "Object key with order ID" | ||
}, | ||
"grand_total": { | ||
"type": "string", | ||
"description": "Object key with grand total" | ||
}, | ||
"subtotal": { | ||
"type": "string", | ||
"description": "Object key with subtotal" | ||
}, | ||
"tax": { | ||
"type": "string", | ||
"description": "Object key with tax" | ||
}, | ||
"shipping": { | ||
"type": "string", | ||
"description": "Object key with shipping" | ||
}, | ||
"discount": { | ||
"type": "string", | ||
"description": "Object key with discount" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"order_id", | ||
"grand_total" | ||
] | ||
}, | ||
"template_options": { | ||
"type": "object", | ||
"properties": { | ||
"product_mapping": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/product_mapping", | ||
"description": "Product mapping" | ||
}, | ||
"category_mapping_type": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/category_mapping_type" | ||
}, | ||
"category_mapping": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/category_mapping" | ||
}, | ||
"products_array": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/products_array" | ||
}, | ||
"order": { | ||
"$ref": "ecommerce_order_attributes.json#/definitions/template_options_order" | ||
}, | ||
"product_dimensions": { | ||
"$ref": "ecommerce_common_attributes.json#/definitions/product_dimensions" | ||
}, | ||
"custom_dimensions": { | ||
"$ref": "../piwik_base_attributes.json#/definitions/custom_dimensions" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"product_mapping", | ||
"category_mapping_type", | ||
"products_array", | ||
"order", | ||
"product_dimensions", | ||
"custom_dimensions" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.