{{ plat.os_arch_pretty or plat.os_pretty }}
+ data-cta-text="Download Firefox for {{ plat.os_arch_pretty or plat.os_pretty }}"
+ {% if plat.os == 'android' %}data-cta-type="firefox_mobile"
+ {% elif plat.os == 'ios' %}data-cta-type="firefox_mobile"
+ {% else %}data-cta-type="firefox"{% endif %}>{{ plat.os_arch_pretty or plat.os_pretty }}
{%- endfor %}
@@ -61,14 +61,13 @@
id="{{ id }}-{{ plat.os }}"
href="{{ plat.download_link }}"{% if plat.download_link_direct %}
data-direct-link="{{ plat.download_link_direct }}"{% endif %}
- data-link-type="download"
- data-display-name="{{ plat.os_arch_pretty or plat.os_pretty }}"
data-download-version="{{ plat.os }}"
+ data-cta-text="Download Firefox for {{ plat.os_arch_pretty or plat.os_pretty }}"
data-testid="{{ id }}-{{ plat.os }}"
- {% if plat.os == 'android' %}data-download-os="Android"
- {% elif plat.os == 'ios' %}data-download-os="iOS"
- {% else %}data-download-os="Desktop"{% endif %}
- {% if download_location %}data-download-location="{{ download_location }}"{% endif %}>
+ {% if plat.os == 'android' %}data-cta-type="firefox_mobile"
+ {% elif plat.os == 'ios' %}data-cta-type="firefox_mobile"
+ {% else %}data-cta-type="firefox"{% endif %}
+ {% if download_location %}data-cta-position="{{ download_location }}"{% endif %}>
{% if alt_copy and 'linux' not in plat.os %}
{{ alt_copy }}
diff --git a/bedrock/firefox/templates/firefox/includes/download-list.html b/bedrock/firefox/templates/firefox/includes/download-list.html
index e640d07d7e6..322dbb1a605 100644
--- a/bedrock/firefox/templates/firefox/includes/download-list.html
+++ b/bedrock/firefox/templates/firefox/includes/download-list.html
@@ -11,9 +11,9 @@
{{ plat.os_arch_pretty or plat.os_pretty }}
+ data-cta-text="Download Firefox for {{ plat.os_arch_pretty or plat.os_pretty }}"
+ data-cta-type="firefox">{{ plat.os_arch_pretty or plat.os_pretty }}