{% assign thisDestination = page.url | split: "/" | last %} {% assign destinationInfo = site.data.catalog.destinations.items | where: "slug", thisDestination | first %} {% comment %}There are probably prettier ways to generate a list of links to these methods, but this was good enough for me.{% endcomment %} {% assign destMethods = "" | split: ", " %} {% assign methodName = "" | split: " " %} {% for method in destinationInfo.methods %} {%if method[1]%} {% assign methodName = method[0] | split: "_" | first | capitalize%} {% assign methodUrl = '' %} {% assign methodHTML = methodUrl | append: methodName %} {% assign methodHTML = methodHTML | append: '' %} {% assign destMethods = destMethods | push: methodHTML %} {%endif%} {% endfor %} {% assign destMethods = destMethods| reverse %} {% if page.cmode-override %} {% assign destinationInfo = site.data.catalog.overrides.items % | where: "slug", thisDestination | first %} {% endif %}

{{ destinationInfo.display_name }} quick info

{% if destMethods.size > 0 %} {{destinationInfo.display_name}} {% if destinationInfo.status == "PUBLIC_BETA" %} is in beta, and{% endif %} accepts {% for method in destMethods%}{% if destMethods.size == 1 %}{{method}} calls.{% else %}{% unless forloop.last == true %}{{method}}, {% endunless %}{% if forloop.last == true%}and {{method}} calls.{%endif%}{% endif %}{% endfor %} If you reference it in the Integrations object, call it “{{destinationInfo.previous_names | join: '", or "' }}”. {% elsif destinationInfo.status == "PUBLIC_BETA" and destMethods.size == 0 %} {{ destinationInfo.display_name }} is in beta. If you reference it in the Integrations object, call it “{{destinationInfo.previous_names | join: '", or "' }}”. {% elsif destinationInfo.status == "PUBLIC" and destMethods.size == 0 %} If you reference {{destinationInfo.display_name}} in the Integrations object, call it “{{destinationInfo.previous_names | join: '", or "' }}”. {% endif %} {% if destinationInfo.replay %} {{ destinationInfo.display_name }} is eligible for Replay. {% endif %}

{% unless destinationInfo.connection_modes.case == "0"%}

{{ destinationInfo.display_name }} {{ destinationInfo.connection_modes.summary }} {% if destinationInfo.connection_modes.case == "mixed" %} {{destinationInfo.display_name}} accepts device-mode data from {% if destinationInfo.connection_modes.device.mobile and destinationInfo.connection_modes.device.web %} mobile and web{% elsif destinationInfo.connection_modes.device.mobile %} mobile{% elsif destinationInfo.connection_modes.device.web %} web{% endif %} sources.{% endif %} {% if destinationInfo.browserUnbundlingSupported %} You can change the {{destinationInfo.display_name}} connection mode for Analytics.js sources from the destination settings in the Segment web app. If you reference it in the Integrations object, call it “{{destinationInfo.previous_names | join: '", or "' }}”. {% endif %}

{% endunless %}