Search Unity

Data privacy plugin not working in WebGL

Discussion in 'Unity Analytics' started by dlearmonth, Jul 16, 2021.

  1. dlearmonth

    dlearmonth

    Joined:
    Sep 8, 2015
    Posts:
    6
    I have added the Data privacy button from the Analytics Library 3.3.5. Which works as expected in editor, Android build but not in WebGL build.

    As far as I can tell, it requests the token, which is returned correctly... but then apparently appends the token onto a local URL. So in my case inhousevisuals.com/51311311351

    My test build is here: https://www.inhousevisuals.com/Files/GreenlandBeta/IceflowsWebGL/index.html

    The opt out button can be found in Options > Analytics Opt Out.

    Has anyone else had this problem?