-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: add event for impression metrics #223
Conversation
No worries, Bruno told me. |
6849901
to
671c6eb
Compare
4f5ebb4
to
d09ed51
Compare
@BrunoRosendo do you think it is worth it to add a label to the events? If so, what would we put in it? |
I don't think it's worth it to put a label. It's usually used to add extra information that doesn't belong to the other fields. If we don't have extra information, then it's not needed. Btw, can you show us how this new event looks in GA? I'm not sure how to compare offers visits with their impressions, for example. Also, can you check if setting these dimensions doesn't trigger unintended visits to the offers? I'm not sure about this. Honestly, I think the metrics we have are well thought but their implementation/usage is confusing, I hope we're able to improve this in #230, after upgrading to GA4 |
Regarding the comparison of impressions vs visits, I'll look into that! |
That's great, thanks a lot for all the steps. We'll have to document it at some point so it's nice to have it written here. As for the comparison, I don't think it's a problem if you can't put them side by side, we can always look at them separately and compare. I was just wondering if it is possible, it would be very nice |
I believe that the side-by-side comparison would be easier if we were using events as well for when you click an offer, but I'm not acquainted with GA at all, so I can't be certain of that... |
I was thinking about this. Right now, we're using pageviews for offer visits. This mean we can see the unique offer link in the metrics, but quite frankly, it's also a very poor user experience (for us). I would suggest changing the way we do visits and use events in the same way you did in this PR. Additionally, to guarantee we have a way of comparing offers with the same title, we could use the offer ID as the event labels (in the visit and the impression). What do you think? @limwa |
That sounds good! Should I make those changes in this PR? |
If you don't mind, I think it'd be nice to have it already here |
Of course! I'll take care of that soon! |
This is looking very good! @limwa Do you mind just removing the merge commit? (and while we're at it maybe squash the 2 linting commits into the first commit?) |
Of course! Just give me one moment! |
4e6af54
to
237c0d5
Compare
237c0d5
to
9e2f67b
Compare
@BrunoRosendo this PR is ready for review |
As soon as the CI passes 👀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! 🚀
This pull request adds metrics for when offers appear in search results.