Adobe Analytics
This sample page demonstrates how you can incorporate Adobe Analytics into your web page.
Implementation
Adobe Analytics is applied through the webAnalytics
parameter. You will have a modification to make in the refTop section of your page depending on the environment.
You will also have to set webAnalytics
to true in the refFooter section of your page.
document.write "refTop" element
Using Adobe Analytics version 1 on staging environment.
document.write(wet.builder.refTop({
"webAnalytics" : [{
"environment" : "staging",
"version" : 1
}]
}));
Using Adobe Analytics version 2 on production environment.
document.write(wet.builder.refTop({
"webAnalytics" : [{
"environment" : "production",
"version" : 2
}]
}));
Using Adobe Analytics version 3 on staging environment.
document.write(wet.builder.refTop({
"webAnalytics" : [{
"custom" : "launch-EN11c0261481f74c56b7656937bbd995e9-staging.min.js"
}]
}));
Using Adobe Analytics version 3 on production environment.
document.write(wet.builder.refTop({
"webAnalytics" : [{
"custom" : "launch-EN0cf6c2810a2b48f8a4c36502a1b09541.min.js"
}]
}));
document.write "refFooter" element
document.write(wet.builder.refFooter({
"webAnalytics" : true
}));