Skip to content
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

Merged

Conversation

solazio
Copy link
Contributor

@solazio solazio commented Jan 14, 2020

Done

  • Add 3rd party store links to: /vlc, /standard-notes, /plexmediaserver

Issue / Card

Fixes https://github.com/canonical-web-and-design/snap-squad/issues/1186

QA

@webteam-app
Copy link

@Lukewh
Copy link
Contributor

Lukewh commented Jan 14, 2020

@solazio solazio force-pushed the 1186-implement-links-to-3rd-party-stores branch from da6b018 to 40c4a3a Compare January 14, 2020 14:48
{% 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
Copy link
Contributor

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

Copy link
Contributor

@Lukewh Lukewh left a 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

@solazio solazio force-pushed the 1186-implement-links-to-3rd-party-stores branch from 40c4a3a to 84df4a4 Compare January 14, 2020 15:21
@solazio solazio merged commit 3187434 into canonical:master Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants