TimesApps introduces Enhanced Campaign Tracking and User Engagement Tools
TimesApps has rolled out a new feature, `toiPlusEvents`, designed to bolster campaign tracking and user engagement across its digital platforms. This update integrates Google Ads (gtag) and Facebook (FB) event tracking, alongside the Survicate customer feedback platform, to provide a more complete understanding of user behavior and campaign effectiveness.
The `toiPlusEvents` functionality allows for dynamic loading of these tools based on site configuration and user status. If site settings are readily available and the user is not identified as a prime subscriber, the system directly implements Google and Facebook event tracking and initializes Survicate with predefined section allowances. This ensures immediate data capture for non-prime users when campaign parameters are explicitly set.
In scenarios where initial site settings are not available or the user is identified as a prime subscriber, `toiplus_site_settings` is fetched from a designated jarvis API endpoint. This dynamic retrieval mechanism ensures that the correct campaign tracking and engagement tools are activated, adapting to whether the user is viewing a prime-user layout or a standard layout. The system intelligently selects the appropriate Survicate sections to monitor based on the user’s access level.
The integration of Survicate is managed through a robust script loading mechanism. The `loadSurvicateJs` function ensures that the Survicate script is asynchronously loaded and initialized. It includes a fallback mechanism where, if the Survicate object (`_sva`) is not promptly available, an event listener is set up to trigger the initialization once the Survicate platform is ready. This ensures that user traits, such as subscription status and geolocation, are accurately captured and set, with a default country code of ‘IN’ if geolocation data is absent.
This strategic update by TimesApps aims to provide deeper insights into campaign performance and user sentiment, enabling more targeted and effective digital strategies. The flexibility in loading and configuring these tools ensures adaptability to evolving user segments and campaign requirements.