'Adobe analytics not getting repeat visits and only showing new visits

We have implemented adobe dashboard in our application which is Live and been used by quite a few Users Adobe dashboard statistics shows we are not getting repeat visits instead it is only showing as new visits.

When looking at the cookies (post accepting the cookies banner message but within the same visit) there is a cookie called 's_vi' this goes away when we close the page and reopen it - leaving just our application cookies.

Working URL : .local

Not Working URL: .[mycompany].uk

This is working as expected on our local machine and only if we use the development scripts. When we start using staging or live environments, the cookies are not restored.



Solution 1:[1]

Some how the cookies are getting deleted, seems configuration issue.

Solution 2:[2]

If you want to use more advanced loss functions, you will have to use tf.GradientTape to do train steps by yourself instead of using the fit method. You can find many examples on the web and in the tensorflow documentation. This requires a little more work but it is much more powerful because you can essentially output a list of tensors out of your custom Model in the call method and then calculate the target losses and choose which parameters are changed.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 shamshul2007
Solution 2 elbe