-
Notifications
You must be signed in to change notification settings - Fork 0
Identified visitors 6b471e
Before starting to implement the identified visitors plugin, please make sure you have initialised the AT Internet JavaScript Tracker and selected the plugin from the Tag Composer interface.
If different values are recorded in the same visit, only the first one will be taken into account
Identified visitors are those you can recognise following an authentication (sign-up, subscription, login…). These visitors can be grouped into categories in order to give you a more overall view with your analyses.
The identified visitors plugin must be set up within the Tag Composer interface. Two parameters must be indicated:
- Site domain: linking measurements to a domain or a site number (true: current site, false: site number; true by default).
- Lifetime: Length of time that identified visitor data is conserved (in days, 182 by default).
The Tracker has the methods “identifiedVisitor.set()” and “identifiedVisitor.unset()” to create or remove an identified visitor.
The “identifiedVisitor.set()” method takes as a parameter an object whose properties are as follows:
- id: visitor ID (numerical or textual).
- category: category to which the visitor belongs
In order to use textual ID, an option is required. Please contact our support centre if you intend to use it.
Sending information on an identified visitor requires the presence of a “tag.page.set()” page tag.
- Tagging a page with a numerical visitor ID
var tag = new ATInternet.Tracker.Tag();
tag.page.set({
name: 'myPage'
});
tag.identifiedVisitor.set({
id: 123456
});
tag.dispatch();- Tagging a page with a numerical visitor ID and a category
var tag = new ATInternet.Tracker.Tag();
tag.page.set({
name: 'myPage'
});
tag.identifiedVisitor.set({
id: 123456,
category:'21'
});
tag.dispatch();- Tagging a page with a textual visitor ID
var tag = new ATInternet.Tracker.Tag();
tag.page.set({
name: 'myPage'
});
tag.identifiedVisitor.set({
id: 'abcd123'
});
tag.dispatch();- Tagging a page with a textual visitor ID and a category
var tag = new ATInternet.Tracker.Tag();
tag.page.set({
name: 'myPage'
});
tag.identifiedVisitor.set({
id: 'abcd123',
category: '21'
});
tag.dispatch();- To disable visitor identification (e.g when a user logs out)
var tag = new ATInternet.Tracker.Tag();
tag.page.set({
name: 'myPage'
});
tag.identifiedVisitor.unset();
tag.dispatch();Last update: 27/02/2019
-
Data API
- Data flow
- Advice optimizations data flow
- Error codes data flow
- Faq data flow
- General information data flow
- Technical information data flow
- Reporting API v3
- Getting started
- Methods
- Parameters
- Technical information
- REST API
- Campaigns
- Custom variables
- Getting started rest
- Methods rest
- Response structure parameters rest
- Fixed periods
- Parameters compatibility
- Relative periods
- Structure of the response
- “code” parameter
- “columns” parameter
- “evo” parameter
- “filter” parameter
- “include” parameter
- “lng” parameter
- “max-results” parameter
- “page-num” parameter
- “period” parameter
- “period” parameter: “H” v. “He” & “MN” v. “MNe”
- “retention” parameter
- “segmentdesc” parameter
- “segment” parameter
- “sep” parameter
- “sort” parameter
- “space” parameter
- Technical specifications rest
- Data flow
-
Data collection
- Android
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Users
- Apple
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Users
- General
- Cddc renew staging process
- Changelog
- Craft your hit
- Encoded parameters
- Server side cookie management
- Supported taggings
- Tagging deletion
- Utilisation of dispatch sdks
- JavaScript
- Advanced features
- Campaigns
- Changelog
- Content
- Ecommerce
- Getting started
- Partners javascript
- Users
- Piano Analytics
- Event tagging piano analytics
- Getting started piano analytics
- Piano analytics tagging
- Feeding piano analytics with as2 tagging
- Tagging custom properties sdk
- Android