Coder Social home page Coder Social logo

After using "opt_out" method, "opt_In" method does not work properly without reloading the browser screen. about countly-sdk-web HOT 2 CLOSED

pavelPX avatar pavelPX commented on August 29, 2024
After using "opt_out" method, "opt_In" method does not work properly without reloading the browser screen.

from countly-sdk-web.

Comments (2)

turtledreams avatar turtledreams commented on August 29, 2024

Hi @pavelPX,
Yes, the behavior you described is correct. Those methods will take effect at the next init. While not deprecated, they are now considered legacy methods. If you need a method to stop/start tracking for some or all features, you will need to use 'consent,' its successor. (Its documentation for your SDK version is here: https://support.count.ly/hc/en-us/articles/4408793793689-Web-analytics-JavaScript-20-11#h_01HBKRGY4GK0Z16S72V40G714X)

Also, one thing to mention is that your SDK version is very old. Using that version would prevent you from receiving any updates and fixes. It is also not recommended if your server version is newer (https://support.count.ly/hc/en-us/articles/4408793793689-Web-analytics-JavaScript-20-11#h_01HBKRGY4GK0Z16S72V40G714X). Our recommendation is for you to update the SDK to the latest version after going through the release notices for any breaking changes (https://github.com/Countly/countly-sdk-web/releases).

from countly-sdk-web.

pavelPX avatar pavelPX commented on August 29, 2024

from countly-sdk-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.