This repository was archived by the owner on May 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
SmartTag migration guide bfc77d
Benjamin Diolez edited this page May 5, 2026
·
1 revision
Before Previously, it was necessary to initialize tag at the opening of the application:
ATTag.init(this, "YOURLOG", "YOURSITEID", ATTag.IdentifierType.ANDROID_ID);SmartTag With SmartTag, it is necessary to instantiate the Tracker you will work wih. In order to do so, you need to add this ligne before your tagging:
- With ATInternet class
// From TagComposer
Tracker tracker = ATInternet.getInstance().getDefaultTracker();
// From other source
Tracker tracker = ATInternet.getInstance().getTracker("myTracker", new HashMap<String, Object>() {{
put("log", "YOURLOG");
put("logSSL", "YOURSSLLOG");
put("site", YOURSITEID);
}});- Without ATInternet class
// From TagComposer
Tracker tracker = new Tracker(this);
// From other source
tracker = new Tracker(this, new HashMap<String, Object>() {{
put("log", "YOURLOG");
put("logSSL", "YOURSSLLOG");
put("site", YOURSITEID);
}});Tracker initialisation >
Before With SDK V1, hits we were sent via the following method:
ATParams params = new ATParams();
params.xt_sendTag();SmartTag With SmartTag, hits are sent via the following method:
tracker.dispatch();With .send* helpers, hits are sent when the method call.
Operating principle >
Before
params.setLevel2("10");
params.setPage("Chapter1::Chapter2::Chapter3::Pagename");SmartTag
// First method
tracker.Screens().add("Pagename", "Chapter1", "Chapter2", "Chapter3").setLevel2(10);
// Second method
tracker.Screens().add("Pagename")
.setChapter1("Chapter1")
.setChapter2("Chapter2")
.setChapter3("Chapter3")
.setLevel2(10);Screens >
Before
params.xt_click("15", "Chapter1::Chapter2::Chapter3::Clickname", ATParams.clicType.navigation);SmartTag
// First Method
tracker.Gestures().add("Clickname", "Chapter1", "Chapter2", "Chapter3").setLevel2(15).sendNavigation();
// Second Method
tracker.Gestures().add("Clickname")
.setChapter1("Chapter1")
.setChapter2("Chapter2")
.setChapter3("Chapter3")
.setLevel2(15)
.sendNavigation();Gestures > Last update: 05/04/2018
-
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