📅  最后修改于: 2023-12-03 15:13:15.812000             🧑  作者: Mango
The Adobe Analytics Time Parting Plugin is a useful tool for tracking when visitors come to your website or app. It allows you to track visitors based on their local time, rather than the server time. This is especially useful if you have a global audience and want to analyze traffic patterns at different times of the day.
The Time Parting Plugin has several features that make it a useful tool for website and app owners. These include:
Local time tracking: The plugin tracks visitors based on their local time, rather than the server time. This ensures that you get accurate data on when visitors are accessing your website or app.
Customizable time zones: The plugin allows you to set custom time zones for different regions, so you can accurately track time-based metrics around the world.
Hourly breakdowns: The plugin provides hourly breakdowns of visitor activity, so you can see which times of the day are the busiest on your website or app.
Easy implementation: The plugin can be easily implemented using a few lines of code, and can be used alongside other Adobe Analytics plugins.
The Time Parting Plugin works by capturing the visitor's local time and calculating the time difference between their time and the server time. This information is then sent to Adobe Analytics, which can be used to generate reports and analyze traffic patterns.
To implement the Time Parting Plugin, you will need to add the following code snippet to your website or app:
s.loadModule("TimeParting");
s.TimeParting.track();
You can also customize the plugin by setting custom time zones for different regions:
s.TimeParting.timezoneOffset("-8", "-7", "3");
The first parameter is the offset for Pacific Standard Time (PST), the second is the offset for Pacific Daylight Time (PDT), and the third is the daylight savings time mode (1 for standard time, 2 for daylight saving time).
The Adobe Analytics Time Parting Plugin is a useful tool for tracking visitor activity on your website or app. Its local time tracking, customizable time zones, and hourly breakdowns make it a powerful tool for analyzing traffic patterns and optimizing your online presence. Implementation is easy, so give it a try and see how it can help you better understand your audience.