xebia-functional / nine-cards-v2

An Open Source Android Launcher built with Scala on Android
http://www.9cards.io/
Other
182 stars 20 forks source link

fix analytics in the microsite #1264

Closed MaureenElsberry closed 6 years ago

MaureenElsberry commented 7 years ago

9cards.io no longer reporting analytics

Expected behavior: [tracks statistics]

Actual behavior: [does not track statistics ]

emailed tracking code privately.

MaureenElsberry commented 7 years ago

@javipacheco @jorgegalindocruces - any word on adding this information to 9cards.io? Sent the code to you when issue was created - let me know if you need it again.

javipacheco commented 7 years ago

I think that we can add the track-id from Google Analytics only to the home page because we have a specific page for that, but we can't add the ID to the documentation pages. For that, we should add a new behavior to sbt-microsite for adding the Google Analytics ID from SBT settings, but for now, this is not possible

I don't know if it's important to track the documentation pages

@jorgegalindocruces thoughts?

MaureenElsberry commented 7 years ago

@javipacheco - I think, for now, the homepage works, for our purposes on this site that is sufficient. Down the road, it would be a good idea for sbt-microsites to have that availability.

suhasgaddam commented 6 years ago

@MaureenElsberry This is using a really old version of sbt-microsites. [0.4.0] https://github.com/47deg/nine-cards-v2/blob/master/project/plugins.sbt#L21

Google Analytics was added in https://github.com/47deg/sbt-microsites/releases/tag/v0.5.5.