Cordova Plugin: Offline queue?

Gold Contributor
Gold Contributor

For an integration of Tealium into a Mobile App, we are looking at the Cordova plugin. My question is:

  1. Does this plugin support offline queuing? Ie. collecting requests while offline and sending them off once network connection is back?
  2. What happens if the user closes the app with requests on the queue? Are they going to be sent next time the app is launched?

Many thanks for your input.

6 REPLIES 6

Cordova Plugin: Offline queue?

Gold Contributor
Gold Contributor
Might have to add that there is an Adobe Analytics tag in the profile, no Tealium collect. We are looking at client-side tracking only, no server-side.

Cordova Plugin: Offline queue?

Moderator
Moderator

Hi @jmbolfing,

Our Cordova plugin does support queuing, under the hood our Android and iOS libraries are included in the package.

In your scenario, yes the events would be sent at next app launch.

In case you needed it, heres a link to our documentation:

https://docs.tealium.com/platforms/cordova/install/

 

Ask me anything Tealium!

Cordova Plugin: Offline queue?

Gold Contributor
Gold Contributor

Excellent. Thanks @corbinspicer for the quick help! Glad that the plugin supports offline queuing.

I've read the documentation but could not find a confirmation of that.

Cordova Plugin: Offline queue?

Gold Contributor
Gold Contributor

Hi 

Follow-up question about offline-queuing.

The app is designed for use on Windows Notebooks. *Angular* will be the foundation of that app I have been told. Angular would be the framework where tracking will be implemented. From the documentation, I understand that Angular does not have the offline queuing feature (because it is mostly used on desktop apps, I suppose).

This would mean, the Angular application needs to handle offline queuing. Which is feasible but the question is about the timestamp of these requests. Is there a way to add the timestamp to the request so that it is processed by Adobe Analytics?

My idea is to add a datalayer variable to the "data" JSON-object, let's call it "ts_event_utc". That variable will be mapped to Adobe Analytics parameter "ts" which is used for custom timestamps, especially for offline tracking (see https://docs.adobe.com/content/help/en/analytics/implementation/validate/query-parameters.html). 

I have never tested this scenario. Do you think this would work or am I missing something?

Many thanks and regards...Jean-Marc

Cordova Plugin: Offline queue?

Moderator
Moderator

Hi Jean-Marc,

For Adobe Analytics, that should absolutely work - remember to format the timestamp in the correct format.

There is also one small catch with the timestamp parameter that your report suite must be enabled to use it. although it is turned on by default, some older implementations may require Adobe Customer Care to switch this on.

Let me know if you have any further queries.

Ask me anything Tealium!

Cordova Plugin: Offline queue?

Gold Contributor
Gold Contributor

Excellent. Thanks very much for your reply. I appreciate your hint about the Report Suite setting. Extremely helpful.

Kind regards...Jean-Marc

Public