Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init mixpanel and amplitude analytics #6542

Merged
merged 4 commits into from
Dec 20, 2022

Conversation

sl1depengwyn
Copy link
Contributor

@sl1depengwyn sl1depengwyn commented Dec 2, 2022

Closes #6347

Docs update blockscout/docs#96

Changelog

Added following analytics events:

  • Profile button click either in account page menu or in navbar account dropdown event name: 'Profile click'
  • Watch list button click either in account page menu or in navbar account dropdown event name: 'Watch list click'
  • Address tags button click either in account page menu or in navbar account dropdown event name: 'Address tags click'
  • Transaction button click either in account page menu or in navbar account dropdown event name: 'Transaction tags click'
  • API keys button click either in account page menu or in navbar account dropdown event name: 'API keys click'
  • Custom ABI button click either in account page menu or in navbar account dropdown event name: 'Custom ABI click'
  • Public tags button click either in account page menu or in navbar account dropdown event name: 'Public tags click'
  • Sign out button click in navbar account dropdown event name: 'Sign out click'
  • Sign in button click in navbar event name: 'Sign in click'
  • Add address to watch list button click in account watch list page event name: 'Add address to watch list click'
  • Add address tag button click in account address tags page event name: 'Add address tag click'
  • Add transaction tag button click in account transaction tags page event name: 'Add transaction tag click'
  • Add API key button click in account API keys page event name: 'Add API key click'
  • Add custom ABI button click in account custom ABI page event name: 'Add custom ABI click'
  • Request to add public tag click in account public tags page event name: 'Request to add public tag click'
  • Add address to watch list
event name: 'New address to watchlist completed', 
event properties: {
    address_hash: string,
    private_tag: string,
    eth_incoming: bool,
    eth_outgoing: bool,
    erc_20_incoming: bool,
    erc_20_outgoing: bool,
    erc_721_1155_incoming: bool,
    erc_721_1155_outgoing: bool,
    email_notifications: bool
}
  • Add address tag
event name: 'Add address tag completed', 
event properties: {
    address_hash: string,
    private_tag: string
}
  • Add transaction tag
event name: 'Add transaction tag completed',
event properties: {
    address_hash: string,
    private_tag: string
}
  • Add API key
event name: 'Generate API key completed',
event properties: {
    application_name: string
}
  • Add custom ABI
event name: 'Custom ABI completed',
event properties: {
    smart_contract_address: string,
    project_name: string,
    custom_abi: string
}
  • Send public tag request
event name: 'Request a public tag completed',
event properties: {
    name: string,
    email: string,
    company_name: string,
    company_website: string,
    goal: 'Add tags' or 'Incorrect public tag',
    public_tag: string,
    smart_contracts: list of strings,
    reason: string
}
  • Searching at the nav bar
event name: 'Occurs searching according to substring at the nav bar',
event properties: {
    search: string
}
  • Search results displays at the nav bar
event name: 'Search list displays at the nav bar',
event properties: {
    resultsNumber: int,
    results: list of strings
}
  • User clicks search result at the nav bar
event name: 'Search item click at the nav bar',
event properties: {
    item: string
}
  • Searching at the search page
event name: 'Occurs searching according to substring at the search page',
event properties: {
    search: string
}
  • Search results displays at the search page
event name: 'Search list displays at the search page',
event properties: {
    resultsNumber: int,
    results: list of strings
}
  • User clicks search result at the search page
event name: 'Search item click at the search page',
event properties: {
    item: string
}

Checklist for your Pull Request (PR)

@sl1depengwyn sl1depengwyn force-pushed the mf-init-mixpanel-and-amplitude-analytics branch 2 times, most recently from e2361d4 to 2e6c5e7 Compare December 2, 2022 18:02
@sl1depengwyn sl1depengwyn force-pushed the mf-init-mixpanel-and-amplitude-analytics branch from 2e6c5e7 to 344bf78 Compare December 2, 2022 18:21
@vbaranov
Copy link
Member

@sl1depengwyn please rebase

@sl1depengwyn sl1depengwyn force-pushed the mf-init-mixpanel-and-amplitude-analytics branch from 344bf78 to f89c439 Compare December 18, 2022 14:56
@sl1depengwyn sl1depengwyn force-pushed the mf-init-mixpanel-and-amplitude-analytics branch from f89c439 to 5d1ebb2 Compare December 18, 2022 15:02
@sl1depengwyn
Copy link
Contributor Author

@sl1depengwyn please rebase

Done

Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sl1depengwyn please add introduced env vars into docker-compose env vars and into Makefile and Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Mixpanel and Amplitude to managed instances
2 participants