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

useGoogleAmpClientId should be useAmpClientId #79

Open
westcoastbias opened this issue Aug 1, 2018 · 1 comment
Open

useGoogleAmpClientId should be useAmpClientId #79

westcoastbias opened this issue Aug 1, 2018 · 1 comment
Labels
migrated The issue has been migrated

Comments

@westcoastbias
Copy link

currently the ga creation with useGoogleAmpClientId set to true looks like this:

Running command: ga("create", "UA-81924801-3", {cookieDomain: "none", siteSpeedSampleRate: 1, sampleRate: 100, allowLinker: true, useGoogleAmpClientId: true})

GA debugger chrome tool throws the following warning:

Create config had an unknown parameter: "useGoogleAmpClientId"

Based on google's documentation on implementing AMP (https://support.google.com/analytics/answer/7486764), the field should be "useAmpClientId". Example from the docs:

ga('create', 'UA-XXXXX-Y', 'auto', {'useAmpClientId': true});

This results in different client ids being used for AMP vs non-AMP events, which results in two separate sessions.

@SegmentDestinationsBot
Copy link
Contributor

Hi @westcoastbias, 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