Giter Club home page Giter Club logo

Comments (6)

zwetan avatar zwetan commented on July 28, 2024

not tested at all and probably not supported.

here a quick overview on how it works
Remarketing with Google Analytics

It is mainly a backend setting
Enable Remarketing and Advertising Reporting Features in Google Analytics
Create and manage Remarketing Audiences

Again not tested but here my guess what could work

by default analytics will be able to track the geolocation and/or IP of users
so maybe the remarketing list based only on these infos could work

but because this remarketing also need to link google analytics with google adwords
and reuse the Enhanced E-commerce, I'm pretty sure some features will not work
like detecting a user that abandonned a purchase to present them targeted ads.

"As is" uananytlics does not

so you could test that

  • enable remarketing on the analytics backend
  • link your adwords and analytics account
  • see if you can have results in the "remarketing audience"
    eg. "smart list", "new user", "returning user", etc.

as mentioned in Smart Lists

Machine learning uses dozens of signals, including location, device, browser, referrer, session duration, and page depth to identify the users who are most likely to convert in a subsequent session. The model is typically updated daily to reflect the latest data to which Analytics has access, and users are automatically added to or removed from the Remarketing Audience based on that model.

So it is mainly a backend thing and it could work.
The thing I'm sure will not work is the remarketing connected to the e-commerce.

Also look into Adwords help - Reach people who visited your site

from as3-universal-analytics.

imatrofailo avatar imatrofailo commented on July 28, 2024

Thank you for your feedback!

I've tried to go through these steps and figured out that that this backend-method is only effective for website users. To enable demographic and interests reports for app users I need to updated app-tracking code per the methods outlined.

Is 'enableAdvertisingIdCollection' method currently supported by as3-universal-analytics?

from as3-universal-analytics.

zwetan avatar zwetan commented on July 28, 2024

the backend of google analytics should have the same behaviour for web and app.

This particular method enableAdvertisingIdCollection is related to the SDK
but should not prevent the backend to work.

Did you actually tried it ?

At this point, imho that's your only option, try to activate the backend option
see if you get some "smart list" or other, or maybe go on the google analytics forum
and ask your question there.

from as3-universal-analytics.

imatrofailo avatar imatrofailo commented on July 28, 2024

I've enabled Demographics and Interest Reports feature in Google Analytics application properties. But still reports are empty. For web everything works fine (I can see demographic and interests reports), but for Adobe AIR mobile apps reports are empty. Please advice.

from as3-universal-analytics.

Samuramu avatar Samuramu commented on July 28, 2024

Is there anyone who managed to report using demographics? What I tries was:
tracker.set("allowIDFACollection","YES");

As well as some other variations ("true",1", etc)

So far, no luck.
Many thanks, love your library!

from as3-universal-analytics.

zwetan avatar zwetan commented on July 28, 2024

I did not have time to investigate more than what was said before
but again it is a backend setting

eg. you have to login to your Google Analytics account
and enable the settings there first

for something like
tracker.set("allowIDFACollection","YES");

it will not work as you can only set parameters that follow the
Measurement Protocol Parameters Reference

there is a data model based on those parameters, you can to add ANY string
eg. "allowIDFACollection" will simply be ignored

if you have to add a custom parameter you have to prepend the string with &

example:

tracker.set( "&abc", "123" );

note:
ideally use only lower case alpha chars
and not a string that is already defined in the data model
eg. &aid will mess up your data as it is already defined as Tracker.APP_ID

enableAdvertisingIdCollection is a function call specific to the Android SDK
it got nothing to do with the measurement protocol

using
tracker.set("allowIDFACollection","YES");

at best will do nothing
at worst will invalidate the request


So I looked into it a bit more

IDFA stands for "Identifier for Advertising"
and it does have a parameter &idfa=

and the "trick" is that it is not part of the measurement protocol but an added option (hence why it does not show up in the reference)

we can see an example here
iOS Install Tracking

with a redirect URL

http://click.google-analytics.com/redirect?
    tid=UA-1234-1                                                 // Google Analytics Tracking ID.
    &idfa=BBA44F63-E469-42BA-833A-2AC550310CB3                    // Identifier for Advertising (IDFA)
    &aid=com.bundle.myapp                                         // App ID.
    &cs=network                                                   // Campaign source.
    &cm=cpc                                                       // Campaign medium.
    &cn=campaign_name                                             // Campaign name.
    &url=https%3A//itunes.apple.com/us/app/myApp/id123%3Fmt%3D8   // Redirect URL to iTunes.

so technically you could define this &idfa parameter in the measurement protocol

var tracker:AppTracker = new AppTracker();
    tracker.set( "&idfa", "BBA44F63-E469-42BA-833A-2AC550310CB3" );

and also pass the campaign parameters: Tracker. CAMPAIGN_NAME, Tracker.CAMPAIGN_SOURCE, Tracker.CAMPAIGN_MEDIUM, etc.

but the main problem is to retrieve those parameters during the app install
which is similar to the issue #19 Campaign tracking on Android/iOS
where we need an ANE to obtain the INSTALL_REFERRER

so yeah ideally we would need an uanalytics-ANE that obtains

  • INSTALL_REFERRER
  • IDFA
  • and any other parameters (like the campaign info) from the install URL

and we would need to inject this data into the uanalytics AS3 lib

All that is quite time consuming and don;t really have time now to do that
but I keep a note on the side for when I'll have more free time

Anyway, "as is" it ca not be done with only AS3 and/or the AIR API
and there is no workaround

from as3-universal-analytics.

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.