-
Notifications
You must be signed in to change notification settings - Fork 201
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
Analytics Implementation for: New Home Page #50835
Comments
hi @michelle-dooley, I see you've moved this to Up Next. Do you have an ETA when you'll get to it? I think I'll need to set time aside to support this effort, depending on whether you have the documentation you need from us. |
@wesrowe - I will begin working on this as part of the new sprint starting tomorrow. Could you please provide me a list of all the new homepage events? I see the following... homepage-search-tools-click, Are there others I should be looking for? And are these unique to the new homepage? So if I see one of these I know its new homepage vs old, correct? |
@wesrowe - can you also tell me what event category they should each fall under? Interaction, navigation, api call, sign-on, search or transaction. I think I can determine but want to make sure I put them where you expect to see them from category perspective. |
Thanks @michelle-dooley! Answers to your questions below. Category: I believe these should all be Interactions. Email sign-up is a possible exception – I would be happy with Interaction there as well, but if there's a standard that it's a "transaction" or something I'll follow that. The ones you found already:
Hopefully these will come through with an "action" that includes detail of particular item, e.g. the link text itself. Additional ones:VA News promo links Read full article CTA: More VA News: Email sign-ups (bottom of page) |
@wesrowe - I created these new events in GTM but when going through to test I don't see any of them triggering. Have they not been implemented yet? |
Thanks for the update. They have been implemented – I believe I pulled the details in my comment above from AdSwerve. What steps did you try testing? |
@wesrowe - so something must be missing in the code. The only new homepage event I see at all is 'homepage-benefit-link-click'. Can you please confirm that other events are coded same as this one? I can't figure out why only one is coming through? I have tried everything and from my side they are all set up the exact same?!?! |
I need to pull in @jtmst (Josh Mills), he has been in the GA code a lot lately and can get into the technical weeds about how GTM makes the connection. |
@jtmst and @wesrowe - I went through and everything is working as expected now expect the 'Search' type in I only see the standard search action for that (not specific to new homepage) and 'Read the full article' I do not see homepage-news-promo-click just the standard Nav Zone One interactions. Here is a doc that shows you everything I see for each new event action |
@michelle-dooley, @jtmst, I'm not seeing anything at all in prod or staging for the News Promo Title or Read Full Article clicks. (Not even "zone one", which I have seen work in the past.) |
@wesrowe - I have not released the new homepage to staging or prod yet, there are still in dev in GA and only I can see them. I wanted to confirm it was all working before promoting. However you should still see any zone one or previous events, I did not take anything away. |
@wesrowe I'm testing this on prod and it seems fine to me, this is for the Read Full Article: I have no idea why they would be working for me and not elsewhere, can you confirm @michelle-dooley ? |
I did release them to dev, staging and prod so you should seem them in all places now. |
@wesrowe I just went through them all in staging and they are all working. |
@jtmst, it turns out that I'm experiencing a bug in AdSwerve just on the News Promo links: the "Read full article" GA event doesn't show in console when I click the links. However, when I hit the back button to return from the external site to the new home page, the original event I was expecting appears back where I was expecting it. Josh, would you mind seeing if you can reproduce? I can only see this bug on the news promo links (all three). All other new-homepate links trigger events without having to hit Back. Is there anything different about how these events are triggered? |
@michelle-dooley, thanks for your work on GTM. |
@wesrowe I find console events to be inconsistent when going back and forth between pages like this, so usually I'll test links but just cmd+clicking so they open in a new tab and I can see the events firing in real time |
@jtmst, thanks for that tip! – it 1) really simplifies the view, and 2) bypassed the bug I was seeing earlier. |
@wesrowe sounds like you have everything you need now. I am going to close this ticket. Please reach out with any further questions. |
Google Analytics Implementation or QA Request
What this form is for
More Information
Use this template to request Google Analytics implementation or QA for your product. Please fill out all brackets.
Description
Required
Is this request for Google Analytics implementation or QA?
Who is this request for?
Provide the link(s) for Google Analytics implementation or QA
When is the launch date?
What interactions need to be tracked? NOTE: Design System Components are automatically tracked
recordEvent({ event: 'homepage-search-tools-click', action: 'Other search tools - {{link.label}}' })
Optional
If applicable, what test users are needed? NOTE: Do not put staging credentials in this ticket; store or reference them in a .md file in the
va.gov-team-sensitive
repositoryAny additional comments
recordEvent({ Homepage - Other search tools - Link click - {{link.label}}
Acceptance criteria
Product
andBenefit Hub
Content GroupsAdditional information
Please refer to Platform Collaboration Cycle or the Analytics Request Touchpoint on Platform website for more information about the Collaboration Cycle.
The text was updated successfully, but these errors were encountered: