-
Notifications
You must be signed in to change notification settings - Fork 0
Visited aisles 9002eb
AT Internet�s SDK allows you to tag your product �aisles� or sections.
This is a navigation analysis specific to eCommerce applications enabling you to categorise the different screens proposing your products (latest collection, sales items, etc.). The objective is to have a panoramic view of the aisles your users visit. We consider visited aisles as areas of your site users have visited. It is therefore possible to have aisles like “Today�s deals”, “Sales”, “New reductions�, “New products”, etc. that contain the same product, depending on how that product is classified (its “category�).
Once your tag is initialised, you can add information about visited aisles to your screen hit.
In the case of a Swift project, be sure to import the Tracker (or TrackerExtension if your target is an extension) module in your ViewController. In the case of an Objective-C project, be sure to import SmartTracker-Swift.h
The tracker makes an aisles property available. This property exposes an add method allowing you to include up to six levels of aisles, and add this information to your screen tagging.
-
Screen tagging with one level of aisles
import UIKit
import SmartTracker
class ViewController: UIViewController {
let tracker: Tracker = ATInternet.sharedInstance.defaultTracker
override func viewDidLoad() {
super.viewDidLoad()
}
override func viewWillAppear(_ animated: Bool) {
let screen = tracker.screens.add("High Tech")
let screen.aisle = Aisle(level1: "10[high_tech]")
screen.sendView()
}
}#import "ViewController.h"
#import "SmartTracker/SmartTracker-Swift.h"
@interface ViewController ()
@property (nonatomic, strong) Tracker* tracker;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.tracker = [ATInternet sharedInstance].defaultTracker;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
Screen *screen = [self.tracker.screens add:@"High Tech"];
screen.aisle = [[Aisle alloc] initWithLevel1:@"10[high_tech]"];
[screen sendView];
}
@end-
Screen tagging with several levels of aisles
import UIKit
import Tracker
class ViewController: UIViewController {
let tracker: Tracker = ATInternet.sharedInstance.defaultTracker
override func viewDidLoad() {
super.viewDidLoad()
}
override func viewWillAppear(animated: Bool) {
let screen = tracker.screens.add("Laptops")
let screen.aisle = Aisle(level1: "10[high_tech]", level2: "20[Computers_network]", level3: "30[Computers]", level4: "40[laptops]")
screen.sendView()
}
}#import "ViewController.h"
#import "SmartTracker/SmartTracker-Swift.h"
@interface ViewController ()
@property (nonatomic, strong) Tracker* tracker;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.tracker = [ATInternet sharedInstance].defaultTracker;
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
Screen *screen = [self.tracker.screens add:@"Laptops"];
screen.aisle = [[Aisle alloc] initWithLevel1:@"10[high_tech]" level2:@"20[Computers_network]" level3:@"30[Computers]" level4:@"40[Laptops]"];
[screen sendView];
}
@end-
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