Giter Site home page Giter Site logo

dmitryplaunov / top-conversion-paths Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 119 KB

A BigQuery SQL query that can be used to visualize user paths that lead to a conversion, e.g. a sale, on a website or an app

License: Creative Commons Zero v1.0 Universal

SQL 100.00%
sql bigquery conversion-rate-optimization

top-conversion-paths's Introduction

Top conversion paths

A BigQuery SQL query that can be used to visualize user paths that lead to a conversion, e.g. a sale, on a website or an app.

An example of the presentation of the query output:

The script pulls all pages that were visited by website or app users, and converts each session into a path, e.g.:

Page 1 > Page 2 > Page 3 > Conversion

It groups some pages, removes duplicates (e.g. when there was a page refresh or a tracking bug) and removes the ones that were visited after the conversion (e.g. after the sale confirmation page), since we are only interested in paths that lead to the conversion.

Purpose

The goal was to get more insights into user behaviour prior to conversion and A/B test new ideas. For example, these questions could be answered:

  • What non-funnel pages are visited most often by those who convert? Is there some information on those pages that is missing in the funnel or can encourage more users to buy or subscribe?
  • How many pages it takes for a user to convert? Is everything clear in the funnel or users go back and forth?
  • How user paths differ on different devices and from different sources?
  • How specific A/B tests impact user flows? Do users follow a different path, if one of the pages in the funnel is changed?

Requirements

How to use it

The query is written in BigQuery SQL. You can either:

  • Run it in the BigQuery console and export the output to any tool where you can present the results
  • Run it in the visualization software that supports connections to BigQuery directly (e.g. Tableau)

License

Creative Commons Zero v1.0 Universal (You can use the script anyway you want for free and without attribution).

Notes

This is a small project I worked on in the past, but maybe it helps someone ๐Ÿ™‚

top-conversion-paths's People

Contributors

dmitryplaunov avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.