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
const fetchMachine = Machine( { | |
initial: 'viewed_homepage', | |
states: { | |
viewed_homepage: { | |
meta: { | |
type: 'audience', | |
audience_ast: { } | |
}, | |
after:[ | |
{ |
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
const fetchMachine = Machine( { | |
initial: 'viewed_homepage', | |
states: { | |
viewed_homepage: { | |
meta: { | |
type: 'audience', | |
audience_ast: { } | |
}, | |
after:[ | |
{ |
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
{ | |
"version": "1.2.0", | |
"initial": "visited_site_without_adding_to_cart", | |
"key": "journey_def_v3.1", | |
"states": { | |
"visited_site_without_adding_to_cart": { | |
"meta": { | |
"type": "audience", | |
"audience_ast": { | |
"children": [ |
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
mutation { | |
createJourney( | |
workspaceId: "fUWqmMQQC1M4ALKaerfQxx", | |
spaceId: "spa_1mkMoi0PxXlBQEHLGIRZm6MDRtk", | |
input: { | |
description: "a cool descript", | |
key: "some_key", | |
name: "cool journey", | |
definition: { | |
version: "1.2.0" |
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
{ | |
"jsonrpc": "2.0", | |
"id": 1, | |
"method": "Journeys.Create", | |
"params": { | |
"spaceId": "spa_1mkMoi0PxXlBQEHLGIRZm6MDRtk", | |
"workspaceId": "fUWqmMQQC1M4ALKaerfQxx", | |
"journey": { | |
"key": "gurdas_test_3", | |
"name": "Gurdas Test GQL 3", |
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
{ | |
"version": "1.2.0", | |
"initial": "visited_site_without_adding_to_cart", | |
"key": "journey_def_v3.1", | |
"states": { | |
"visited_site_without_adding_to_cart": { | |
"meta": { | |
"type": "audience", | |
"audience_ast": { | |
"children": [ |
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
{ | |
"version": "1.2.0", | |
"initial": "visited_site_without_adding_to_cart", | |
"key": "journey_def_v3.1", | |
"states": { | |
"visited_site_without_adding_to_cart": { | |
"meta": { | |
"type": "audience", | |
"audience_ast": { | |
"children": [ |
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
INSERT INTO journeys (id, workspace_id,space_id,`key`,name, description,enabled, definition) | |
VALUES ('trial_conversion', 'fUWqmMQQC1M4ALKaerfQxx', 'fUWqmMQQC1M4ALKaerfQxx', 'trial_conversion', 'Trial Conversion', 'Convert to paying users', true, '{ | |
"version": "2.0.0", | |
"id": "trial-conversion", | |
"initial": "non_converted_trials", | |
"key": "journey_def_v3.1", | |
"states": { | |
"non_converted_trials": { | |
"meta": { | |
"name": "Non-converted Trials", |
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
{ | |
"type": "object", | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"definitions": { | |
"statesObject": { | |
"type": "object", | |
"patternProperties": { | |
"^.*$": { | |
"type": "object", | |
"additionalProperties": false, |
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
<body> | |
<style> | |
.square-box { | |
width: 33%; | |
height: 0; | |
padding-top: 33%; | |
position: absolute; | |
right: 20px; | |
top: 20px; | |
} |
OlderNewer