Data re-import is based on aggregated data according to the defined import profile. It uses generic formats and is not tied to any specific platform. Therefore, the data source can come from any solution.
When sending values for a data type, the following processing is performed: if you send a single value over a period of more than one day, the value is distributed equally over the number of days, and the remainder is added to the first day of the period.
When you send data over a given period, the following process is applied:
For the line in question, if the data does not exist, the value provided in the file is injected.
For the line in question, if data already exists, the new value sent cancels and replaces the existing one (example: if you had 15 page views and you send 17 page views, then the number 17 will be displayed in the interface).
How do I set up data re-import?
In order to set up data re-import, you must:
Please have your data in CSV format (accented characters will be automatically removed)
have a JSON file defining the data format and import type
Once the connector is created, you will have access to API endpoints that allow you to specify the types of data you can import. To ensure optimal compatibility between solutions, accented characters are removed during data re-import.
Site-level data
The following metrics:
Time spent: duration - it must be provided in seconds
visits: visit
daily unique visitors: dvisitor
sales: scartvalid
revenue: scartvalidamount
lead: estimatevalid
lead revenue: estimatevalidamount
shopping cart: scart
Example of an import format:
{
"skipHeader":true,
"kind":"website",
"dimensions":[{
"idx":0,
"target":"website_name"
}],
"metrics":[{
"idx":1,
"target":"visit"
},{
"idx":4,
"target":"duration"
},{
"idx":7,
"target":"dvisitor"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
}
CSV file containing the data to be imported:
Nom,Visites,Actions,Nombre maximum d'actions en une visite,Temps total passé par les visiteurs(en secondes),Rebonds,Visites avec conversions,Visiteursuniques(résumé quotidien),Utilisateurs(résumé quotidien)
time spent : duration - must be provided in seconds
visits : visit
incoming visits : visitin
exit visits : visitout
bouce visits : visitone
Example of an import format:
"skipHeader":true,
"kind":"pagetree",
"dimensions":[{
"idx":0,
"target":"pageinfo_name"
}],
"metrics":[{
"idx":2,
"target":"hit"
},{
"idx":3,
"target":"duration"
},{
"idx":22,
"target":"visitin"
},{
"idx":25,
"target":"visitone"
},{
"idx":26,
"target":"visitout"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
}
CSV file containing the data to be imported:
Nom,Vues de page uniques,Vues de page,Temps total passé par les visiteurs(en secondes),nb_hits_with_time_network,min_time_network,max_time_network,nb_hits_with_time_server,min_time_server,max_time_server,nb_hits_with_time_transfer,min_time_transfer,max_time_transfer,nb_hits_with_time_dom_processing,min_time_dom_processing,max_time_dom_processing,nb_hits_with_time_dom_completion,min_time_dom_completion,max_time_dom_completion,nb_hits_with_time_on_load,min_time_on_load,max_time_on_load,Entrées,Actions après être entré ici,Temps total passé par les visiteurs(en secondes) après être entré ici,Rebonds,Sorties,Visiteursuniques(résumé quotidien),Entréesuniques(résumé quotidien),Sortiesuniques(résumé quotidien),Temps moyen de connexion,Moy.heure du serveur,Moy.temps de transfert,Temps moyen de traitement du DOM,Temps moyen de génération du DOM,Moy.au temps de chargement,Temps de chargement moyen,Temps moyen sur la page,Taux de rebond,Taux de sortie,Méta-données: segment,Cliqué dans les résultats de recherche
The URL of the page can be provided in the additionnal dimension: pageinfo_url.
Example of an import format:
{
"skipHeader":true,
"kind":"pagetree",
"dimensions":[{
"idx":0,
"target":"pageinfo_name"
},{
"idx":1,
"target":"pageinfo_url"
}],
"metrics":[{
"idx":2,
"target":"hit"
},{
"idx":3,
"target":"duration"
},{
"idx":22,
"target":"visitin"
},{
"idx":25,
"target":"visitone"
},{
"idx":26,
"target":"visitout"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
}
SEO - Search Engines
The following metrics:
time spent: duration - it must be provided in seconds
visits: visit
daily unique visitors: dvisitor
sales: scartvalid
sales revenue: scartvalidamount
lead : estimatevalid
lead revenue: estimatevalidamount
shopping carts: scart
Example of an import format:
{
"skipHeader":true,
"kind":"searchengine",
"dimensions":[{
"idx":0,
"target":"searchengine_name"
}],
"metrics":[{
"idx":1,
"target":"visit"
},{
"idx":4,
"target":"duration"
},{
"idx":7,
"target":"dvisitor"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
CSV file containing the data to be imported:
Nom,Visites,Actions,Nombre maximum d'actions en une visite,Temps total passé par les visiteurs(en secondes),Rebonds,Visites avec conversions,Visiteursuniques(résumé quotidien),Utilisateurs(résumé quotidien),Méta-données: segment,Méta-données: url,Méta-données: logo
time spent: duration - it must be provided in seconds
visits: visit
daily unique visitors: dvisitor
sales: scartvalid
sales revenue: scartvalidamount
lead : estimatevalid
lead revenue: estimatevalidamount
shopping carts: scart
Example of an import format
{
"skipHeader":true,
"kind":"refererdomain",
"dimensions":[{
"idx":0,
"target":"refererdomain_name"
}],
"metrics":[{
"idx":1,
"target":"visit"
},{
"idx":4,
"target":"duration"
},{
"idx":7,
"target":"dvisitor"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
}
CSV file containing the data to be imported:
Nom,Visites,Actions,Nombre maximum d'actions en une visite,Temps total passé par les visiteurs(en secondes),Rebonds,Visites avec conversions,Visiteursuniques(résumé quotidien),Utilisateurs(résumé quotidien),Méta-données: segment
time spent: duration - it must be provided in seconds
visits: visit
daily unique visitors: dvisitor
sales: scartvalid
sales revenue: scartvalidamount
lead : estimatevalid
lead revenue: estimatevalidamount
shopping carts: scart
Example of an import format:
{
"skipHeader":true,
"kind":"geoloccountry",
"dimensions":[{
"idx":9,
"target":"geoloccountry_isocode"
}],
"metrics":[{
"idx":1,
"target":"visit"
},{
"idx":4,
"target":"duration"
},{
"idx":7,
"target":"dvisitor"
}],
"period":{
"from":"01/03/2023",
"to":"31/03/2023",
"scale":"D"
}
CSV file containing the data to be imported:
}
CSV file containing the data to be imported:
Nom,Visites,Actions,Nombre maximum d'actions en une visite,Temps total passé par les visiteurs(en secondes),Rebonds,Visites avec conversions,Visiteursuniques(résumé quotidien),Utilisateurs(résumé quotidien),Méta-données: code,Méta-données: logo,Méta-données: segment,Méta-données: logoHeight