Skip to content

Instantly share code, notes, and snippets.

@BurningDog
Last active November 10, 2020 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BurningDog/e20ade7fb40bc1dda906054365b976d5 to your computer and use it in GitHub Desktop.
Save BurningDog/e20ade7fb40bc1dda906054365b976d5 to your computer and use it in GitHub Desktop.
Awareness
Awareness
Visits Hupla Hubspot website -> Consideration
Consideration
Register on Hupla Hubspot website -> subscriber
Click book button -> Unregistered user
subscriber
a certain amount of time on the website -> marketingqualifiedlead
visiting a certain page on the website -> marketingqualifiedlead
click book button -> salesqualifiedlead
Conversation or decision
marketingqualifiedlead
start booking process -> salesqualifiedlead
opened Hubspot filter page -> salesqualifiedlead
salesqualifiedlead
Hubspot Registered user
Click on checkout page -> Create Symfony user and link to Hubspot user
Unregistered user
View cruise
Click on checkout page -> Find or create user
Find or create user
User exists in Symfony and Hubspot -> Login
User exists in Hubspot -> Create Symfony user and link to Hubspot user
User does not exist -> Create user
User actions
Login
User is not a customer -> opportunity
User is already a customer -> customer
Create Symfony user and link to Hubspot user
User is not a customer -> opportunity
User is already a customer -> customer
Create user
Create Symfony and Hubspot user -> opportunity
Cart timeout -> marketingqualifiedlead
opportunity
Payment transaction successful -> customer
Some rule from Alex -> salesqualifiedlead
Some other rule from Alex -> marketingqualifiedlead
customer
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment