-
Notifications
You must be signed in to change notification settings - Fork 0
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
D10. Google Analytics #95
Comments
Hey @saumier, should we also track when the user clicks on the artist's website URL (not just the social media link)? |
@troughc Yes. We changed the GA event to artist_url so it should capture both artist's website URL and artist's social media links. |
@sahalali Some additional thoughts on this feature:
|
@troughc @saumier We can retrieve the gtag from the parent website during the div integration : We can check if the gtag exist using:
This ensures that the widget doesn’t require an explicit gtag ID to be passed during div integration. I’m currently exploring whether the same approach works for iFrame integration. One question I have: If the parent website does not have a gtag ID initialized, should we inject our own Google Analytics script? |
@AbhishekPAnil No we should not use our own gtag ID. If there is none on the parent page then we should not send any events. The use story is that the owner of the website wants to use their Google Analytics. We don't want to use a Culture Creates analytics gtag ID because then we would have to declare to the owner of the website that Culture Creates is tracking information on their site which would change their privacy declarations to the visitors of their website. I added Google Analytics with a gtag created by Culture Creates specifically for the Widget Demo website which Culture Creates owns (even if we made a webpage that looks like the NAC it is still being served by Culture Creates). To test, please use the widget demo website which has the Culture Creates Google Analytics gtag G-1CPH9RTLXF setup on each webpage to receive events. The Google analytics dashboard is here: |
@troughc See comment above. Does it answer the question you passed on to me after this mornings standup? |
Do you need both the website url and social media links in the same event at the same time or just the one which the user interacts with ? |
Just the one you click on. |
@saumier As discussed , I will wait for you review questions |
The ability to send events triggered in the Footlight widget to the Google Analytics dashboard of the client. This will work only with the
The following events should be sent:
To test, please use the widget demo website which has the Culture Creates Google Analytics gtag
G-1CPH9RTLXF
setup on each webpage to receive events.The Google analytics dashboard is here:
https://analytics.google.com/analytics/web/#/p475345206/reports/intelligenthome
I have invited Suhail, Abhishek and Syam to have access to view the Analytics dashboard, so when the time comes you can check that the events are showing up in the Google Analytics dashboard.
Example call:
The text was updated successfully, but these errors were encountered: