Begin integration of google analytics LBC-324#470
Open
Moggach wants to merge 18 commits intoproductionfrom
Open
Begin integration of google analytics LBC-324#470Moggach wants to merge 18 commits intoproductionfrom
Moggach wants to merge 18 commits intoproductionfrom
Conversation
LBC-324 Integrate Stripe subscriptions and purchases with GA4
This article looks like a good place to start We have engagement The next step is monetisation |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR begins the process of integrating Google Analytics 4 reporting into LBC
Steps taken:
https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag
https://stripe.com/docs/payments/checkout/analyze-conversion-funnel
although possibly there's a better way to do this on the server side using webhooks or similar. I wasn't sure.
Further steps to take based on current implementation:
NB there is a purchase event from yesterday which was probably me accidentally buying a book and then refunding it. That indicates that there may be some default ecommerce reporting active. There's no product data associated with it though
Motivation and Context
Linked to issue LBC-324
Types of changes