Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Equivalence of ga(set,...) in analytics.js ? #77

Open
ferozed opened this issue May 20, 2018 · 1 comment
Open

Equivalence of ga(set,...) in analytics.js ? #77

ferozed opened this issue May 20, 2018 · 1 comment
Labels
migrated The issue has been migrated

Comments

@ferozed
Copy link

ferozed commented May 20, 2018

I am porting some ga code to use segment. There are the ga('set', .... ) calls for which I dont see a corresponding version in analytics.

It is not possible to pass in the custom dimensions as properties because they were being set in a different part of the page, and the track/page calls happen elsewhere.

What I am proposing is, we add a Analytics.prototype.set(props) method. The props would be buffered internally. And when users call track or page or identify, the api calls would be merged with those passed in with the set call. This way it would work for all integrations.

@SegmentDestinationsBot
Copy link
Contributor

Hi @ferozed, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
migrated The issue has been migrated
Projects
None yet
Development

No branches or pull requests

2 participants