-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Continued] Google Analytics import #1753
Commits on Feb 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aac8620 - Browse repository at this point
Copy the full SHA aac8620View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bae8c7 - Browse repository at this point
Copy the full SHA 9bae8c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 167f31a - Browse repository at this point
Copy the full SHA 167f31aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1855942 - Browse repository at this point
Copy the full SHA 1855942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9abe8d3 - Browse repository at this point
Copy the full SHA 9abe8d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25061f2 - Browse repository at this point
Copy the full SHA 25061f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a292ca - Browse repository at this point
Copy the full SHA 5a292caView commit details -
Pass another dataset to main graph for rendering in red
This adds another entry to the JSON data returned via the main graph API called `imported_plot`, which is similar to `plot` in form but will be completed with previously imported data. Currently it simply returns the values from `plot` / 2. The data is rendered in the main graph in red without fill, and without an indicator for the present. Rationale: imported data will not continue to grow so there is no projection forward, only backwards.
Configuration menu - View commit details
-
Copy full SHA for 56a5b5e - Browse repository at this point
Copy the full SHA 56a5b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ca9bb - Browse repository at this point
Copy the full SHA e0ca9bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bffb113 - Browse repository at this point
Copy the full SHA bffb113View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54703d2 - Browse repository at this point
Copy the full SHA 54703d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b5cec - Browse repository at this point
Copy the full SHA b5b5cecView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6ab270 - Browse repository at this point
Copy the full SHA e6ab270View commit details -
Start converting metrics to atoms so they can be subqueried
This changes "visitors" and in some places "sources" to atoms. This does not change the behaviour of the functions - the tests all pass unchanged following this commit. This is necessary as joining subqueries requires that the keys in `select` statements be atoms and not strings.
Configuration menu - View commit details
-
Copy full SHA for 0c5c4b7 - Browse repository at this point
Copy the full SHA 0c5c4b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1b46d - Browse repository at this point
Copy the full SHA 9e1b46dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c37fb - Browse repository at this point
Copy the full SHA a2c37fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for be412a3 - Browse repository at this point
Copy the full SHA be412a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe3535 - Browse repository at this point
Copy the full SHA afe3535View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea2cd3 - Browse repository at this point
Copy the full SHA 9ea2cd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5b8f95 - Browse repository at this point
Copy the full SHA f5b8f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd0462e - Browse repository at this point
Copy the full SHA dd0462eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b86326 - Browse repository at this point
Copy the full SHA 2b86326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a969ea - Browse repository at this point
Copy the full SHA 8a969eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b09c8c - Browse repository at this point
Copy the full SHA 5b09c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2c185a - Browse repository at this point
Copy the full SHA e2c185aView commit details -
Also add tentative imported_utm_sources table
This needs a bit more work on the google import side, as GA do not report sources and utm sources as distinct things.
Configuration menu - View commit details
-
Copy full SHA for 0a62a4d - Browse repository at this point
Copy the full SHA 0a62a4dView commit details -
Return imported data to dashboard for rest of Sources panel
This extends the merge_imported function definition for sources to utm_sources, utm_mediums and utm_campaigns too. This appears to be working on the DB side but something is incomplete on the client side.
Configuration menu - View commit details
-
Copy full SHA for 5a0a81d - Browse repository at this point
Copy the full SHA 5a0a81dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa65a50 - Browse repository at this point
Copy the full SHA fa65a50View commit details -
Merge entry pages and exit pages from imported data into unfiltered d…
…ashboard view This requires converting the `"visits"` and `"visit_duration"` metrics to atoms so that they can be used in ecto subqueries.
Configuration menu - View commit details
-
Copy full SHA for a8b0b10 - Browse repository at this point
Copy the full SHA a8b0b10View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8ee7df - Browse repository at this point
Copy the full SHA b8ee7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e57d58 - Browse repository at this point
Copy the full SHA 0e57d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for aac954d - Browse repository at this point
Copy the full SHA aac954dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2d7eab - Browse repository at this point
Copy the full SHA f2d7eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab7d57 - Browse repository at this point
Copy the full SHA 3ab7d57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ba204 - Browse repository at this point
Copy the full SHA 87ba204View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5bc70a - Browse repository at this point
Copy the full SHA c5bc70aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7936e6f - Browse repository at this point
Copy the full SHA 7936e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bca7e24 - Browse repository at this point
Copy the full SHA bca7e24View commit details -
Get timeOnPage and pageviews for pages from GA
These are needed for the pages modal, and for calculating exit rates for exit pages.
Configuration menu - View commit details
-
Copy full SHA for 3f38a3e - Browse repository at this point
Copy the full SHA 3f38a3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a03759e - Browse repository at this point
Copy the full SHA a03759eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8b8ccf - Browse repository at this point
Copy the full SHA b8b8ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 991cf88 - Browse repository at this point
Copy the full SHA 991cf88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e03e128 - Browse repository at this point
Copy the full SHA e03e128View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dbde9e - Browse repository at this point
Copy the full SHA 5dbde9eView commit details -
Parse referrers with RefInspector
- Use 'ga:fullReferrer' instead of 'ga:source'. This provides the actual referrer host + path, whereas 'ga:source' includes utm_mediums and other values when relevant. - 'ga:fullReferror' does however include search engine names directly, so they are manually checked for as RefInspector won't pick up on these.
Configuration menu - View commit details
-
Copy full SHA for 71abc96 - Browse repository at this point
Copy the full SHA 71abc96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bfee86 - Browse repository at this point
Copy the full SHA 4bfee86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ff0412 - Browse repository at this point
Copy the full SHA 5ff0412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c6255e - Browse repository at this point
Copy the full SHA 2c6255eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 543f42b - Browse repository at this point
Copy the full SHA 543f42bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21fcada - Browse repository at this point
Copy the full SHA 21fcadaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7da346 - Browse repository at this point
Copy the full SHA a7da346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca72a2 - Browse repository at this point
Copy the full SHA 6ca72a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93ddbab - Browse repository at this point
Copy the full SHA 93ddbabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67fd47a - Browse repository at this point
Copy the full SHA 67fd47aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2158098 - Browse repository at this point
Copy the full SHA 2158098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8083261 - Browse repository at this point
Copy the full SHA 8083261View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2881946 - Browse repository at this point
Copy the full SHA 2881946View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d9a5c - Browse repository at this point
Copy the full SHA d3d9a5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fb187 - Browse repository at this point
Copy the full SHA 46fb187View commit details -
Configuration menu - View commit details
-
Copy full SHA for e95e92b - Browse repository at this point
Copy the full SHA e95e92bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e78c2e5 - Browse repository at this point
Copy the full SHA e78c2e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3963a - Browse repository at this point
Copy the full SHA 9e3963aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 429ec25 - Browse repository at this point
Copy the full SHA 429ec25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 393ad27 - Browse repository at this point
Copy the full SHA 393ad27View commit details -
Configuration menu - View commit details
-
Copy full SHA for d446486 - Browse repository at this point
Copy the full SHA d446486View commit details -
Configuration menu - View commit details
-
Copy full SHA for adb3f22 - Browse repository at this point
Copy the full SHA adb3f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for f737aa7 - Browse repository at this point
Copy the full SHA f737aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6b314f - Browse repository at this point
Copy the full SHA c6b314fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae84c7e - Browse repository at this point
Copy the full SHA ae84c7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecfccd4 - Browse repository at this point
Copy the full SHA ecfccd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c48b3b5 - Browse repository at this point
Copy the full SHA c48b3b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6b085 - Browse repository at this point
Copy the full SHA bb6b085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 866097e - Browse repository at this point
Copy the full SHA 866097eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f27f0 - Browse repository at this point
Copy the full SHA 98f27f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5f1e5 - Browse repository at this point
Copy the full SHA ca5f1e5View commit details -
Clean locations import from Google Analytics
- Country and region should be set to "" when GA provides "(not set)" - City should be set to 0 for "unknown", as we cannot reliably import city data from GA.
Configuration menu - View commit details
-
Copy full SHA for 944d07a - Browse repository at this point
Copy the full SHA 944d07aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c14ded5 - Browse repository at this point
Copy the full SHA c14ded5View commit details -
os -> operating_system in some parts of code
The inconsistency of using os in some places and operating_system in others causes trouble with subqueries and joins for the native and imported data, which would require additional logic to account for. The simplest solution is the just use a consistent word for all uses. This doesn't make any user-facing or database changes.
Configuration menu - View commit details
-
Copy full SHA for 787ee44 - Browse repository at this point
Copy the full SHA 787ee44View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0a06f0 - Browse repository at this point
Copy the full SHA e0a06f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for decc32f - Browse repository at this point
Copy the full SHA decc32fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a1695f - Browse repository at this point
Copy the full SHA 7a1695fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f35671 - Browse repository at this point
Copy the full SHA 8f35671View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d85271 - Browse repository at this point
Copy the full SHA 1d85271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c50991 - Browse repository at this point
Copy the full SHA 0c50991View commit details -
Configuration menu - View commit details
-
Copy full SHA for afdd562 - Browse repository at this point
Copy the full SHA afdd562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aeca6f - Browse repository at this point
Copy the full SHA 9aeca6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 173df31 - Browse repository at this point
Copy the full SHA 173df31View commit details -
Configuration menu - View commit details
-
Copy full SHA for f09a99d - Browse repository at this point
Copy the full SHA f09a99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8acc085 - Browse repository at this point
Copy the full SHA 8acc085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e38a4 - Browse repository at this point
Copy the full SHA 95e38a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88d925d - Browse repository at this point
Copy the full SHA 88d925dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b337e72 - Browse repository at this point
Copy the full SHA b337e72View commit details -
Clean up GA request code a bit
There was some weird logic here with two separate lists that really ought to be together, so this merges those.
Configuration menu - View commit details
-
Copy full SHA for 0e48b25 - Browse repository at this point
Copy the full SHA 0e48b25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11821fd - Browse repository at this point
Copy the full SHA 11821fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca8531b - Browse repository at this point
Copy the full SHA ca8531bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b534f62 - Browse repository at this point
Copy the full SHA b534f62View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e2167 - Browse repository at this point
Copy the full SHA a0e2167View commit details -
Reorganise GA data fetch logic
- Fetch data from the start of time (2005) - Check whether no data was fetched, and if so, inform user and don't consider data to be imported.
Configuration menu - View commit details
-
Copy full SHA for 1505e7b - Browse repository at this point
Copy the full SHA 1505e7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for de3220d - Browse repository at this point
Copy the full SHA de3220dView commit details -
Apply location filters from API
This makes it consistent with the sources etc which filter out 'Direct / None' on the API side. These filters are used by both the native and imported data handling code, which would otherwise both duplicate the filters in their `where` clauses.
Configuration menu - View commit details
-
Copy full SHA for 5b57143 - Browse repository at this point
Copy the full SHA 5b57143View commit details -
Configuration menu - View commit details
-
Copy full SHA for 734a520 - Browse repository at this point
Copy the full SHA 734a520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a6ab5b - Browse repository at this point
Copy the full SHA 1a6ab5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbc625 - Browse repository at this point
Copy the full SHA bbbc625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba78d3 - Browse repository at this point
Copy the full SHA 2ba78d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eba626 - Browse repository at this point
Copy the full SHA 8eba626View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680708f - Browse repository at this point
Copy the full SHA 680708fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb02e5 - Browse repository at this point
Copy the full SHA 4cb02e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6309562 - Browse repository at this point
Copy the full SHA 6309562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 516c84d - Browse repository at this point
Copy the full SHA 516c84dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4132f64 - Browse repository at this point
Copy the full SHA 4132f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ca030 - Browse repository at this point
Copy the full SHA 51ca030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e13a60 - Browse repository at this point
Copy the full SHA 2e13a60View commit details -
Configuration menu - View commit details
-
Copy full SHA for d369ba3 - Browse repository at this point
Copy the full SHA d369ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a9d01 - Browse repository at this point
Copy the full SHA 16a9d01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67fba86 - Browse repository at this point
Copy the full SHA 67fba86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ac5ba6 - Browse repository at this point
Copy the full SHA 5ac5ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9ce03 - Browse repository at this point
Copy the full SHA cb9ce03View commit details -
Configuration menu - View commit details
-
Copy full SHA for de821d6 - Browse repository at this point
Copy the full SHA de821d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d646757 - Browse repository at this point
Copy the full SHA d646757View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd17fe5 - Browse repository at this point
Copy the full SHA cd17fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72303d8 - Browse repository at this point
Copy the full SHA 72303d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b90896 - Browse repository at this point
Copy the full SHA 8b90896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 380f9aa - Browse repository at this point
Copy the full SHA 380f9aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a29a7c1 - Browse repository at this point
Copy the full SHA a29a7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e3c15 - Browse repository at this point
Copy the full SHA 99e3c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e50cb - Browse repository at this point
Copy the full SHA 82e50cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5603f9 - Browse repository at this point
Copy the full SHA f5603f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b37e814 - Browse repository at this point
Copy the full SHA b37e814View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55da66a - Browse repository at this point
Copy the full SHA 55da66aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ff7606 - Browse repository at this point
Copy the full SHA 2ff7606View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba28622 - Browse repository at this point
Copy the full SHA ba28622View commit details -
Configuration menu - View commit details
-
Copy full SHA for df6d1bc - Browse repository at this point
Copy the full SHA df6d1bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ffae1 - Browse repository at this point
Copy the full SHA 92ffae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e9c045 - Browse repository at this point
Copy the full SHA 0e9c045View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf4d00 - Browse repository at this point
Copy the full SHA fdf4d00View commit details -
Split sources and UTM sources from fetched GA data
GA has only a "source" dimension and no "UTM source" dimension. Instead it returns these combined. The logic herein to tease these apart is: 1. "(direct)" -> it's a direct source 2. if the source is a domain -> it's a source 3. "google" -> it's from adwords; let's make this a UTM source "adwords" 4. else -> just a UTM source
Configuration menu - View commit details
-
Copy full SHA for 0cb66d6 - Browse repository at this point
Copy the full SHA 0cb66d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 175025b - Browse repository at this point
Copy the full SHA 175025bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c574abe - Browse repository at this point
Copy the full SHA c574abeView commit details
Commits on Mar 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9213b29 - Browse repository at this point
Copy the full SHA 9213b29View commit details
Commits on Mar 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5073b39 - Browse repository at this point
Copy the full SHA 5073b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f99441 - Browse repository at this point
Copy the full SHA 0f99441View commit details
Commits on Mar 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 16c8cb1 - Browse repository at this point
Copy the full SHA 16c8cb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c324395 - Browse repository at this point
Copy the full SHA c324395View commit details
Commits on Mar 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d4b554b - Browse repository at this point
Copy the full SHA d4b554bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a0b532 - Browse repository at this point
Copy the full SHA 8a0b532View commit details
Commits on Mar 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a7bc60f - Browse repository at this point
Copy the full SHA a7bc60fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ddbfb4 - Browse repository at this point
Copy the full SHA 8ddbfb4View commit details
Commits on Mar 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bd7e40b - Browse repository at this point
Copy the full SHA bd7e40bView commit details