Skip to content

Instantly share code, notes, and snippets.

@robisatthefunction
Last active February 6, 2024 23:52
Show Gist options
  • Save robisatthefunction/5b4b27f093d3d885468081251f301c1f to your computer and use it in GitHub Desktop.
Save robisatthefunction/5b4b27f093d3d885468081251f301c1f to your computer and use it in GitHub Desktop.
{
"audience_conditions": "[\"and\", {\"audience_id\": 27573540519}]", // This can be changed to everyone
"campaign_id": 27432670787, // need campaign ID to be placed here
"changes": [],
"description": "If we deliver more relavant header to target audiences, we'll increase sign-up conversions",
"holdback": 0,
"metrics": [],
"name": "US-Based Customers",
"project_id": "$PROJECT_ID",
"traffic_allocation": 10000,
"type": "a/b",
"page_ids": ["spanish_beaches"],
"variations": [
{
"actions": [
{
"changes": [
{
"async": false,
"attributes": {
"html": ""
},
"css": {},
"dependencies": [],
"rearrange": {
"insertSelector": "",
"operator": "before"
},
"selector": "#heroBlock-623",
"type": "attribute"
}
],
"page_id": "spanish_beaches"
}
],
"archived": false,
"name": "Variation #1",
"status": "active",
"weight": 10000
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment