I’m building and sending my own screen view events but noticed that all previous screen related properties are missing. Was this intentional? Does the previous screen properties only gets recorded when automatic screen view tracking is enabled? I can’t find it explicitly mentioned in any Snowplow documentation.
Update: I found that previousScreenState isn’t being attached to the screen view event if automatic screen view tracking is disabled. But since previousScreenState is a public property of SPTracker, I can use it to retrieve the previous screen data.
I notice though that if your app architecture involves parent-child controllers the SDK doesnt allow any overrides or customisation of which controller should be considered as the “previous screen”, better if I could retrieve the screen view event data i previously manually composed.
Hi,
The 1.2.x branch of the snowplow-objc-tracker has a number of alternations to screen state handling.
In particular 1.2.1 fixes an issue preventing updating previous screen information. You can now utilise updateWithPreviousState in SPEvent. I’m hopeful that upgrading to our latest release (1.2.2 at the time of writing) will give you the behaviour you require.
thanks Paul. you seem to be experienced so i was wondering if i could ask you some questions as well? i’m still learning so i need some answers in regards to my project about vegetarians. thanks a lot.
Hi @Andessomeho
Feel free to ask whatever questions you have and either myself or someone else in the community will hopefully be able to help you out! I’d suggest opening a new thread that includes your questions