Standard events
Page display
Event name
page.display
Standard properties
Property | Type |
---|---|
page | string |
page_chapter1 | string |
page_chapter2 | string |
page_chapter3 | string |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('page.display', {
'page' : 'page name',
'page_chapter1' : 'level 1',
'page_chapter2' : 'level 2',
'page_chapter3' : 'level 3'
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("page.display")
.properties(
Property(PropertyName("page"), "page name"),
Property(PropertyName("page_chapter1"), "level 1"),
Property(PropertyName("page_chapter2"), "level 2"),
Property(PropertyName("page_chapter3"), "level 3"),
)
.build()
)
pa.sendEvent(new Event("page.display", new HashMap<String, Object>() {{
put("page", "page name");
put("page_chapter1", "level 1");
put("page_chapter2", "level 2");
put("page_chapter3", "level 3");
}}));
pa.sendEvent(Event("page.display", data: [
"page" : "page name",
"page_chapter1" : "level 1",
"page_chapter2" : "level 2",
"page_chapter3" : "level 3"
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "page.display",
data: {
"page": "page name",
"page_chapter1": "level 1",
"page_chapter2": "level 2",
"page_chapter3": "level 3"
}
}]
})
})
Clicks
Event name
click.action
/ click.navigation
/ click.download
/ click.exit
Standard properties
Property | Type |
---|---|
click | string |
click_chapter1 | string |
click_chapter2 | string |
click_chapter3 | string |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('click.action', {
'click' : 'click name',
'click_chapter1' : 'level 1',
'click_chapter2' : 'level 2',
'click_chapter3' : 'level 3'
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("click.action")
.properties(
Property(PropertyName("click"), "click name"),
Property(PropertyName("click_chapter1"), "level 1"),
Property(PropertyName("click_chapter2"), "level 2"),
Property(PropertyName("click_chapter3"), "level 3"),
)
.build()
)
pa.sendEvent(new Event("click.action", new HashMap<String, Object>() {{
put("click", "click name");
put("click_chapter1", "level 1");
put("click_chapter2", "level 2");
put("click_chapter3", "level 3");
}}));
pa.sendEvent(Event("click.action", data: [
"click" : "click name",
"click_chapter1" : "level 1",
"click_chapter2" : "level 2",
"click_chapter3" : "level 3"
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "click.action",
data: {
"click": "click name",
"click_chapter1": "level 1",
"click_chapter2": "level 2",
"click_chapter3": "level 3"
}
}]
})
})
Onsite Ads
Event name
publisher.impression
/ publisher.click
/ self_promotion.impression
/ self_promotion.click
Standard properties
Property | Type | Possible value |
---|---|---|
onsitead_type (mandatory) | string | Publisher / Self promotion |
onsitead_advertiser | string | |
onsitead_campaign | string | |
onsitead_category | string | |
onsitead_creation | string | |
onsitead_detailed_placement | string | |
onsitead_format | string | |
onsitead_general_placement | string | |
onsitead_url | string | |
onsitead_variant | string |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('publisher.impression', {
'onsitead_type' : 'Publisher',
'onsitead_advertiser' : 'Pitchfork',
'onsitead_campaign' : '2',
'onsitead_category' : 'HotDeals',
'onsitead_creation' : 'brand',
'onsitead_detailed_placement' : 'right',
'onsitead_format' : '336x280',
'onsitead_general_placement' : 'side',
'onsitead_url' : 'https://www.atinternet.com',
'onsitead_variant' : 'newbies'
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("publisher.impression")
.properties(
Property(PropertyName("onsitead_type"), "Publisher"),
Property(PropertyName("onsitead_advertiser"), "Pitchfork"),
Property(PropertyName("onsitead_campaign"), "2"),
Property(PropertyName("onsitead_category"), "HotDeals"),
Property(PropertyName("onsitead_creation"), "brand"),
Property(PropertyName("onsitead_detailed_placement"), "right"),
Property(PropertyName("onsitead_format"), "336x280"),
Property(PropertyName("onsitead_general_placement"), "side"),
Property(PropertyName("onsitead_url"), "https://www.atinternet.com"),
Property(PropertyName("onsitead_variant"), "newbies"),
)
.build()
)
pa.sendEvent(new Event("publisher.impression", new HashMap<String, Object>() {{
put("onsitead_type", "Publisher");
put("onsitead_advertiser", "Pitchfork");
put("onsitead_campaign", "2");
put("onsitead_category", "HotDeals");
put("onsitead_creation", "brand");
put("onsitead_detailed_placement", "right");
put("onsitead_format", "336x280");
put("onsitead_general_placement", "side");
put("onsitead_url", "https://www.atinternet.com");
put("onsitead_variant", "newbies");
}}));
pa.sendEvent(Event("publisher.impression", data: [
"onsitead_type" : "Publisher",
"onsitead_advertiser" : "Pitchfork",
"onsitead_campaign" : "2",
"onsitead_category" : "HotDeals",
"onsitead_creation" : "brand",
"onsitead_detailed_placement" : "right",
"onsitead_format" : "336x280",
"onsitead_general_placement" : "side",
"onsitead_url" : "https://www.atinternet.com",
"onsitead_variant" : "newbies"
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "publisher.impression",
data: {
"onsitead_type": "Publisher",
"onsitead_advertiser": "Pitchfork",
"onsitead_campaign": "2",
"onsitead_category": "HotDeals",
"onsitead_creation": "brand",
"onsitead_detailed_placement": "right",
"onsitead_format": "336x280",
"onsitead_general_placement": "side",
"onsitead_url": "https://www.atinternet.com",
"onsitead_variant": "newbies"
}
}]
})
})
Internal search engine
Result display
Event name
internal_search_result.display
Standard properties
Property | Type |
---|---|
ise_keyword | string |
ise_page | int |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('internal_search_result.display', {
'ise_keyword' : 'daft',
'ise_page' : 2
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("internal_search_result.display")
.properties(
Property(PropertyName("ise_keyword"), "daft"),
Property(PropertyName("ise_page"), 2),
)
.build()
)
pa.sendEvent(new Event("internal_search_result.display", new HashMap<String, Object>() {{
put("ise_keyword", "daft");
put("ise_page", 2);
}}));
pa.sendEvent(Event("internal_search_result.display", data: [
"ise_keyword" : "daft",
"ise_page" : 2
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "internal_search_result.display",
data: {
"ise_keyword": "daft",
"ise_page": 2
}
}]
})
})
Result click
Event name
internal_search_result.click
Standard properties
Property | Type |
---|---|
ise_keyword | string |
ise_click_rank | int |
ise_page | int |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('internal_search_result.click', {
'ise_keyword' : 'daft',
'ise_click_rank' : 2,
'ise_page' : 1
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("internal_search_result.click")
.properties(
Property(PropertyName("ise_keyword"), "daft"),
Property(PropertyName("ise_click_rank"), 2),
Property(PropertyName("ise_page"), 1),
)
.build()
)
pa.sendEvent(new Event("internal_search_result.click", new HashMap<String, Object>() {{
put("ise_keyword", "daft");
put("ise_click_rank", 2);
put("ise_page", 1);
}}));
pa.sendEvent(Event("internal_search_result.click", data: [
"ise_keyword" : "daft",
"ise_click_rank" : 2,
"ise_page" : 1
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "internal_search_result.click",
data: {
"ise_keyword": "daft",
"ise_click_rank": 2,
"ise_page": 1
}
}]
})
})
MV Testing
Event name
mv_test.display
Standard properties
Property | Type |
---|---|
mv_creation | string |
mv_test | string |
mv_wave | int |
- Javascript
- Android (3.3.0+)
- Android
- Apple
- HTTP
pa.sendEvent('mv_test.display', {
'mv_creation' : 'BlueTheme',
'mv_test' : 'NewUX',
'mv_wave' : 2
});
PianoAnalytics.getInstance().sendEvents(
Event.Builder("mv_test.display")
.properties(
Property(PropertyName("mv_creation"), "BlueTheme"),
Property(PropertyName("mv_test"), "NewUX"),
Property(PropertyName("mv_wave"), 2),
)
.build()
)
pa.sendEvent(new Event("mv_test.display", new HashMap<String, Object>() {{
put("mv_creation", "BlueTheme");
put("mv_test", "NewUX");
put("mv_wave", 2);
}}));
pa.sendEvent(Event("mv_test.display", data: [
"mv_creation" : "BlueTheme",
"mv_test" : "NewUX",
"mv_wave" : 2
]))
const site_id = `XXXXXXXXXX`;
const visitor_id = `<visitor_id>`;
const endpoint = `<xxxxxxx>.pa-cd.com`;
fetch(`https://${endpoint}/event?s=${site_id}&idclient=${visitor_id}`, {
method: "POST",
body: JSON.stringify({
events: [{
name: "mv_test.display",
data: {
"mv_creation": "BlueTheme",
"mv_test": "NewUX",
"mv_wave": 2
}
}]
})
})