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
Add 3rd party store links #2434
Add 3rd party store links #2434
Conversation
Starting demo at: https://snapcraft-io-canonical-web-and-design-pr-2434.run.demo.haus/ |
plex android should be https://play.google.com/store/apps/details?id=com.plexapp.android |
da6b018
to
40c4a3a
Compare
templates/store/snap-details.html
Outdated
{% if request.path in ["/vlc", "/standard-notes", "/plexmediaserver"] %} | ||
<h4>Companion apps</h4> | ||
<ul class="p-list"> | ||
<li class="p-list__item u-no-padding--left"><a href="{% if request.path == '/vlc' %}https://apps.apple.com/us/app/vlc-for-mobile/id650377962{% elif request.path == '/standard-notes' %}https://apps.apple.com/gb/app/standard-notes/id1285392450{% elif request.path == '/plexmediaserver' %}https://apps.apple.com/gb/app/plex-movies-tv-music-more/id383457673{% endif %}" onclick="dataLayer.push({'event' : 'GAEvent', 'eventCategory' : '3rd Party Store Link', 'eventAction' : 'App Store Link ', 'eventLabel' : 'App Store Link', 'eventValue' : undefined });"><img |
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.
Could "eventValue" maybe be the snap name? Would that be useful? Not sure
Also perhaps split these lines as they get pretty long
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.
👍 just a couple of maybes. Thanks @solazio
40c4a3a
to
84df4a4
Compare
Done
/vlc
,/standard-notes
,/plexmediaserver
Issue / Card
Fixes https://github.com/canonical-web-and-design/snap-squad/issues/1186
QA
Pull the branch
Run the site using the command
./run
View the site locally in your web browser at: http://0.0.0.0:8004/snap_name
Run through the following QA steps
Make sure you see the 3rd party app store buttons on
/vlc
,/standard-notes
,/plexmediaserver
and not other snap details pageshttps://snapcraft-io-canonical-web-and-design-pr-2434.run.demo.haus/vlc
https://snapcraft-io-canonical-web-and-design-pr-2434.run.demo.haus/standard-notes
https://snapcraft-io-canonical-web-and-design-pr-2434.run.demo.haus/plexmediaserver