Alexa Destination

On this page

Destination Info
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

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.

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: 15 Jul 2022

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