Alexa Destination

On this page

Alexa quick info

If you reference Alexa in the Integrations object, call it “Alexa”.

Alexa accepts device-mode data only from Analytics.js.

Alexa helps improve your website’s SEO and conduct competitive analysis. They help your business get better marketing results. The Alexa Destination is open-source. You can browse the code on GitHub.

This document was last updated on October 16, 2018. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, let us know!

Getting Started

Before you start, make sure Alexa supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.

Web Mobile Server
📱 Device-mode ⬜️ ⬜️
☁️ Cloud-mode ⬜️ ⬜️ ⬜️
  1. From the Segment web app, click Catalog.
  2. Search for “Alexa” in the Catalog, select it, and choose which of your sources to connect the destination to.
  3. Fill in your “Account ID” which you can find in the Alexa Javascript snippet. It appears as atrk_acct: ‘XXXXXXX’.
  4. Fill in your “Domain” which you can find in the Alexa Javascript snippet. It appears as domain: ‘’.

Your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading the Alexa Javascript snippet on your page and sending data.

Alexa starts tracking your website to help optimize your SEO and understand your web traffic. There’s nothing further you need to do in Segment!


Alexa could not find the Certify Code

Alexa’s installation detector does not actually execute Javascript on the page (our Analytics.js Javascript needs to run to insert their Javascript). Instead, its detector looks for the snippet/image tag directly and therefore, misses the detection. This should not impact your utilization of Alexa.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Setting Description
Account ID
string. You can find your Account ID in the Javascript snippet, it appears as atrk_acct: 'XXXXXXX'.
string. You can find your Domain in the Javascript snippet, it appears as domain: ''

This page was last modified: 20 Oct 2020

Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
Create free account